Struct exclusion_merkle_cbt::ExclusionCBMT [−][src]
pub struct ExclusionCBMT<K, V, H, M> { /* fields omitted */ }
Expand description
A helper struct to build data structure for verifing the exclusion of keys
- range leaves
- merkle root
- merkle tree
- merkle proof
Implementations
Build range leaves by raw leaves
Build merkle tree
pub fn build_proof<'a>(
raw_leaves: &[Leaf<K, V>],
excluded_keys: &'a [K]
) -> Result<ExclusionMerkleProof<K, V, H, M>, Error<'a, K>>
pub fn build_proof<'a>(
raw_leaves: &[Leaf<K, V>],
excluded_keys: &'a [K]
) -> Result<ExclusionMerkleProof<K, V, H, M>, Error<'a, K>>
Build proof by excluded_keys
Trait Implementations
Auto Trait Implementations
impl<K, V, H, M> RefUnwindSafe for ExclusionCBMT<K, V, H, M> where
H: RefUnwindSafe,
K: RefUnwindSafe,
M: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V, H, M> UnwindSafe for ExclusionCBMT<K, V, H, M> where
H: UnwindSafe,
K: UnwindSafe,
M: UnwindSafe,
V: UnwindSafe,