Structs§
- Account
Tree - The sparse merkle tree of all accounts in the blockchain.
- Account
Update Witness - This type encapsulates essentially three components:
- Account
Witness - A specialized version of an
SmtProoffor use inAccountTreeandPartialAccountTree. It proves the inclusion of an account ID at a certain state (i.e.Account::commitment) in theAccountTree. - Block
Account Update - Describes the changes made to an account state resulting from executing transactions contained in a block.
- Block
Header - 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.
- Block
Inputs - The required inputs for building a
ProposedBlock. - Block
Note Index - Index of a block note.
- Block
Note Tree - Wrapper over SimpleSmt<BLOCK_NOTE_TREE_DEPTH> for notes tree.
- Block
Number - A convenience wrapper around a
u32representing the number of a block. - Blockchain
- The Merkle Mountain Range defining the Miden blockchain.
- Nullifier
Tree - The sparse merkle tree of all nullifiers in the blockchain.
- Nullifier
Witness - A proof that a certain nullifier is in the nullifier tree with the contained state.
- Partial
Account Tree - The partial sparse merkle tree containing the state commitments of accounts in the chain.
- Partial
Nullifier Tree - The partial sparse merkle tree containing the nullifiers of consumed notes.
- Proposed
Block - A proposed block with many, but not all constraints of a
ProvenBlockenforced. - Proven
Block - A block in the Miden chain.
Type Aliases§
- Output
Note Batch - The set of notes created in a transaction batch with their index in the batch.