pub type FeeMerkleTree = UniversalMerkleTree<FeeAmount, Sha3Digest, FeeAccount, FEE_MERKLE_TREE_ARITY, Sha3Node>;
Aliased Type§
struct FeeMerkleTree { /* private fields */ }
Trait Implementations§
Source§impl MerklizedState<SeqTypes, { Self::ARITY }> for FeeMerkleTree
impl MerklizedState<SeqTypes, { Self::ARITY }> for FeeMerkleTree
type Key = <UniversalMerkleTree<FeeAmount, Sha3Digest, FeeAccount, FEE_MERKLE_TREE_ARITY, Sha3Node> as MerkleTreeScheme>::Index
type Entry = <UniversalMerkleTree<FeeAmount, Sha3Digest, FeeAccount, FEE_MERKLE_TREE_ARITY, Sha3Node> as MerkleTreeScheme>::Element
type T = Sha3Node
type Commit = <UniversalMerkleTree<FeeAmount, Sha3Digest, FeeAccount, FEE_MERKLE_TREE_ARITY, 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
Source§fn insert_path(
&mut self,
key: Self::Key,
proof: &MerkleProof<Self::Entry, Self::Key, Self::T, { Self::ARITY }>,
) -> Result<()>
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.