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: AppendOnlyTreeSnapshotstate: StateReferencesponge_blob_hash: Fieldglobal_variables: GlobalVariablestotal_fees: Fieldtotal_mana_used: FieldTrait 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]