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§