Module block

Source

Structs§

AccountUpdateWitness
This type encapsulates essentially three components:
AccountWitness
A proof that a certain account is in the account tree and whose current state is the contained initial state commitment.
BlockAccountUpdate
Describes the changes made to an account state resulting from executing transactions contained in a block.
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.
NullifierWitness
A proof that a certain nullifier is in the nullifier tree with the contained state.
PartialNullifierTree
The partial sparse merkle tree containing the nullifiers of consumed notes.
ProposedBlock
A proposed block with many, but not all constraints of a ProvenBlock enforced.
ProvenBlock
A block in the Miden chain.

Type Aliases§

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