ckb_types::prelude

Trait CalcExtraHash

Source
pub trait CalcExtraHash {
    // Required method
    fn calc_extra_hash(&self) -> ExtraHashView;
}
Expand description

Trait for calculating the extra hash of a block.

Required Methods§

Source

fn calc_extra_hash(&self) -> ExtraHashView

Calculates and returns the extra hash of the block as an ExtraHashView.

Implementors§