pub type MockMerkleTree = UniversalMerkleTree<usize, Sha3Digest, usize, 8, Sha3Node>;Aliased Type§
pub struct MockMerkleTree { /* private fields */ }Trait Implementations§
Source§impl MerklizedState<MockTypes, 8> for MockMerkleTree
impl MerklizedState<MockTypes, 8> for MockMerkleTree
type Key = usize
type Entry = usize
type T = Sha3Node
type Commit = <UniversalMerkleTree<usize, Sha3Digest, usize, 8, Sha3Node> as MerkleTreeScheme>::Commitment
type Digest = Sha3Digest
Source§fn state_type() -> &'static str
fn state_type() -> &'static str
Retrieves the name of the state being queried.
Source§fn header_state_commitment_field() -> &'static str
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
fn tree_height() -> usize
Get the height of the tree