Type Alias BlockMerkleTree

Source
pub type BlockMerkleTree = LightWeightSHA3MerkleTree<Commitment<Header>>;

Aliased Type§

struct BlockMerkleTree { /* private fields */ }

Trait Implementations§

Source§

impl MerklizedState<SeqTypes, { Self::ARITY }> for BlockMerkleTree

Source§

type Key = <LightWeightMerkleTree<Commitment<Header>, Sha3Digest, u64, 3, Sha3Node> as MerkleTreeScheme>::Index

Source§

type Entry = Commitment<Header>

Source§

type T = Sha3Node

Source§

type Commit = <LightWeightMerkleTree<Commitment<Header>, Sha3Digest, u64, 3, Sha3Node> as MerkleTreeScheme>::Commitment

Source§

type Digest = Sha3Digest

Source§

fn state_type() -> &'static str

Retrieves the name of the state being queried.
Source§

fn header_state_commitment_field() -> &'static str

Retrieves the field in the header containing the Merkle tree commitment for the state implementing this trait.
Source§

fn tree_height() -> usize

Get the height of the tree
Source§

fn insert_path( &mut self, key: Self::Key, proof: &MerkleProof<Self::Entry, Self::Key, Self::T, { Self::ARITY }>, ) -> Result<()>

Insert a forgotten path into the tree.