Struct ckb_types::packed::Header [−][src]
pub struct Header(_);
Implementations
Creates an advanced builder base on current data.
Calculates the header hash and converts into HeaderView
with the hash.
Calls HeaderReader.calc_pow_hash()
for self.as_reader()
.
Calls HeaderReader.calc_header_hash()
for self.as_reader()
.
Calculates the difficulty from compact target.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Header
impl UnwindSafe for Header
Blanket Implementations
Mutably borrows from an owned value. Read more