Struct ckb_types::packed::Block [−][src]
pub struct Block(_);
Implementations
Creates an empty advanced builder.
Creates an advanced builder base on current data.
Calls BlockReader.calc_header_hash()
for self.as_reader()
.
Calls BlockReader.calc_uncles_hash()
for self.as_reader()
.
Calls BlockReader.calc_extra_hash()
for self.as_reader()
.
Calls BlockReader.calc_tx_hashes()
for self.as_reader()
.
Converts self to an uncle block.
Recalculates all hashes and merkle roots in the header.
Gets the i-th extra field if it exists; i started from 0.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Block
impl UnwindSafe for Block
Blanket Implementations
Mutably borrows from an owned value. Read more