pub type RewardMerkleTree = UniversalMerkleTree<RewardAmount, Sha3Digest, RewardAccount, REWARD_MERKLE_TREE_ARITY, Sha3Node>;
Aliased Type§
struct RewardMerkleTree { /* private fields */ }
Trait Implementations§
Source§impl MerklizedState<SeqTypes, { Self::ARITY }> for RewardMerkleTree
impl MerklizedState<SeqTypes, { Self::ARITY }> for RewardMerkleTree
type Key = <UniversalMerkleTree<RewardAmount, Sha3Digest, RewardAccount, REWARD_MERKLE_TREE_ARITY, Sha3Node> as MerkleTreeScheme>::Index
type Entry = <UniversalMerkleTree<RewardAmount, Sha3Digest, RewardAccount, REWARD_MERKLE_TREE_ARITY, Sha3Node> as MerkleTreeScheme>::Element
type T = Sha3Node
type Commit = <UniversalMerkleTree<RewardAmount, Sha3Digest, RewardAccount, REWARD_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.