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

Merkle root

Check empty of the tree

Destroy current tree and retake store

Get backend store

Get mutable backend 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

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.