pub type DifficultyAncestor = Arc<dyn Fn(u64) -> Option<(u64, u64)> + Send + Sync>;Expand description
Ancestor compact bits and timestamp, keyed by height.
When set on BlockValidationContext, connect requires the header’s bits
to equal crate::pow::next_required_bits. None skips that check.
Aliased Type§
pub struct DifficultyAncestor { /* private fields */ }