aztec-nr - protocol_types::abis::block_header

Struct BlockHeader

pub struct BlockHeader {
    pub last_archive: AppendOnlyTreeSnapshot,
    pub state: StateReference,
    pub sponge_blob_hash: Field,
    pub global_variables: GlobalVariables,
    pub total_fees: Field,
    pub total_mana_used: Field,
}

Fields

last_archive: AppendOnlyTreeSnapshot
state: StateReference
sponge_blob_hash: Field
global_variables: GlobalVariables
total_fees: Field
total_mana_used: Field

Trait implementations

impl Deserialize for BlockHeader

pub fn deserialize(serialized: [Field; 22]) -> Self

impl Empty for BlockHeader

pub fn empty() -> Self pub fn is_empty(self) -> bool pub fn assert_empty<let S: u32>(self, msg: str<S>)

impl Eq for BlockHeader

pub fn eq(_self: Self, _other: Self) -> bool

impl Hash for BlockHeader

pub fn hash(self) -> Field

impl Serialize for BlockHeader

pub fn serialize(self) -> [Field; 22]