ckb_types::prelude

Trait Difficulty

Source
pub trait Difficulty {
    // Required method
    fn difficulty(&self) -> U256;
}
Expand description

Trait for calculating difficulty.

Required Methods§

Source

fn difficulty(&self) -> U256

Calculates and returns the difficulty value as a U256.

Implementors§