miden_objects/block/
mod.rs

1mod header;
2pub use header::{BlockHeader, FeeParameters};
3
4mod block_number;
5pub use block_number::BlockNumber;
6
7mod proposed_block;
8pub use proposed_block::ProposedBlock;
9
10mod proven_block;
11pub use proven_block::ProvenBlock;
12
13mod nullifier_witness;
14pub use nullifier_witness::NullifierWitness;
15
16mod partial_account_tree;
17pub use partial_account_tree::PartialAccountTree;
18
19pub mod account_tree;
20
21mod nullifier_tree;
22pub use nullifier_tree::NullifierTree;
23
24mod blockchain;
25pub use blockchain::Blockchain;
26
27mod partial_nullifier_tree;
28pub use partial_nullifier_tree::PartialNullifierTree;
29
30mod block_account_update;
31pub use block_account_update::BlockAccountUpdate;
32
33mod account_witness;
34pub use account_witness::AccountWitness;
35
36mod account_update_witness;
37pub use account_update_witness::AccountUpdateWitness;
38
39mod block_inputs;
40pub use block_inputs::BlockInputs;
41
42mod note_tree;
43pub use note_tree::{BlockNoteIndex, BlockNoteTree};
44
45/// The set of notes created in a transaction batch with their index in the batch.
46///
47/// The index is included as some notes may be erased at the block level that were part of the
48/// output notes of a batch. This means the indices here may not be contiguous, i.e. any missing
49/// index belongs to an erased note. To correctly build the [`BlockNoteTree`] of a block, this index
50/// is required.
51pub type OutputNoteBatch = alloc::vec::Vec<(usize, crate::transaction::OutputNote)>;