Trait mina_merkle::MaskingMerkleTree
source · [−]pub trait MaskingMerkleTree {
fn update(&self);
fn commit(self, parent: impl MaskableMerkleTree);
}
Expand description
A merkle tree that can be used to mask super::MaskableMerkleTree
Required Methods
Update a super::MaskingMerkleTree with changed notified from the super::MaskableMerkleTree it’s registered in
sourcefn commit(self, parent: impl MaskableMerkleTree)
fn commit(self, parent: impl MaskableMerkleTree)
Commits changes from a super::MaskingMerkleTree to the super::MaskableMerkleTree it’s registered in