pub type MerkleTree = BridgeTree<MerkleNode, usize, { MERKLE_DEPTH }>;

Aliased Type§

struct MerkleTree {
    pub(crate) prior_bridges: Vec<MerkleBridge<MerkleNode>>,
    pub(crate) current_bridge: Option<MerkleBridge<MerkleNode>>,
    pub(crate) saved: BTreeMap<Position, usize>,
    pub(crate) checkpoints: VecDeque<Checkpoint<usize>>,
    pub(crate) max_checkpoints: usize,
}

Fields§

§prior_bridges: Vec<MerkleBridge<MerkleNode>>§current_bridge: Option<MerkleBridge<MerkleNode>>§saved: BTreeMap<Position, usize>§checkpoints: VecDeque<Checkpoint<usize>>§max_checkpoints: usize