Type Alias RewardMerkleTree

Source
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

Source§

type Key = <UniversalMerkleTree<RewardAmount, Sha3Digest, RewardAccount, REWARD_MERKLE_TREE_ARITY, Sha3Node> as MerkleTreeScheme>::Index

Source§

type Entry = <UniversalMerkleTree<RewardAmount, Sha3Digest, RewardAccount, REWARD_MERKLE_TREE_ARITY, Sha3Node> as MerkleTreeScheme>::Element

Source§

type T = Sha3Node

Source§

type Commit = <UniversalMerkleTree<RewardAmount, Sha3Digest, RewardAccount, REWARD_MERKLE_TREE_ARITY, 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.