Skip to main content

Module block

Module block 

Source

Modules§

account_tree
nullifier_tree

Structs§

AccountUpdateWitness
This type encapsulates essentially three components:
BlockAccountUpdate
Describes the changes made to an account state resulting from executing transactions contained in a block.
BlockBody
Body of a block in the chain which contains data pertaining to all relevant state changes.
BlockHeader
The header of a block. It contains metadata about the block, commitments to the current state of the chain and the hash of the proof that attests to the integrity of the chain.
BlockInputs
The required inputs for building a ProposedBlock.
BlockNoteIndex
Index of a block note.
BlockNoteTree
Wrapper over SimpleSmt<BLOCK_NOTE_TREE_DEPTH> for notes tree.
BlockNumber
A convenience wrapper around a u32 representing the number of a block.
BlockProof
Represents a proof of a block in the chain.
Blockchain
The Merkle Mountain Range defining the Miden blockchain.
FeeParameters
The fee-related parameters of a block.
ProposedBlock
A proposed block with many, but not all constraints of a ProvenBlock enforced.
ProvenBlock
Represents a block in the Miden blockchain that has been signed and proven.

Traits§

BlockSigner
Trait which abstracts the signing of block headers with ECDSA signatures.

Type Aliases§

OutputNoteBatch
The set of notes created in a transaction batch with their index in the batch.