Trait ckb_types::prelude::Difficulty
source · 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
.