aztec-nr - protocol_types::proposed_block_header

Struct ProposedBlockHeader

pub struct ProposedBlockHeader {
    pub last_archive_root: Field,
    pub content_commitment: ContentCommitment,
    pub slot_number: Field,
    pub timestamp: u64,
    pub coinbase: EthAddress,
    pub fee_recipient: AztecAddress,
    pub gas_fees: GasFees,
    pub total_mana_used: Field,
}

Fields

last_archive_root: Field
content_commitment: ContentCommitment
slot_number: Field
timestamp: u64
coinbase: EthAddress
fee_recipient: AztecAddress
gas_fees: GasFees
total_mana_used: Field

Implementations

impl ProposedBlockHeader

pub fn to_be_bytes(self) -> [u8; 284]

Trait implementations

impl Deserialize for ProposedBlockHeader

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

impl Empty for ProposedBlockHeader

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

impl Eq for ProposedBlockHeader

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

impl Hash for ProposedBlockHeader

pub fn hash(self) -> Field

impl Serialize for ProposedBlockHeader

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