Struct restricted_sparse_merkle_tree::tree::SparseMerkleTree [−][src]
pub struct SparseMerkleTree<H, V, S> { /* fields omitted */ }
Expand description
Sparse merkle tree
Implementations
Build a merkle tree from root and store
Destroy current tree and retake store
Update a leaf, return new merkle root set to zero value to delete a key
Get value of a leaf return zero value if leaf not exists
Generate merkle proof
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl<H, V, S> RefUnwindSafe for SparseMerkleTree<H, V, S> where
H: RefUnwindSafe,
S: RefUnwindSafe,
V: RefUnwindSafe,
impl<H, V, S> Send for SparseMerkleTree<H, V, S> where
H: Send,
S: Send,
V: Send,
impl<H, V, S> Sync for SparseMerkleTree<H, V, S> where
H: Sync,
S: Sync,
V: Sync,
impl<H, V, S> Unpin for SparseMerkleTree<H, V, S> where
H: Unpin,
S: Unpin,
V: Unpin,
impl<H, V, S> UnwindSafe for SparseMerkleTree<H, V, S> where
H: UnwindSafe,
S: UnwindSafe,
V: UnwindSafe,