pub trait Difficulty {
// Required method
fn difficulty(&self) -> U256;
}
Expand description
Trait for calculating difficulty.
Required Methods§
Sourcefn difficulty(&self) -> U256
fn difficulty(&self) -> U256
Calculates and returns the difficulty value as a U256
.