zebra_chain::work::difficulty

Trait ParameterDifficulty

source
pub trait ParameterDifficulty {
    // Required method
    fn target_difficulty_limit(&self) -> ExpandedDifficulty;
}
Expand description

Network methods related to Difficulty

Required Methods§

source

fn target_difficulty_limit(&self) -> ExpandedDifficulty

Returns the easiest target difficulty allowed on network.

§Consensus

See PoWLimit in the Zcash specification: https://zips.z.cash/protocol/protocol.pdf#constants

Implementors§