Exclusion Complete Binary Merkle Tree
A merkle tree based on Nervos Complete Binary Merkle Tree to support verifiing a leaf is not on a certain tree.
Example Usage
type StrKey = &'static str;
type StrLeaf = ;
type StrRangeLeaf = ;
// A helper to compute root and build proof
type StrExCBMT = ;
// Can be seen as a black list
let all_leaves: = vec!
.into_iter
.map
.collect;
let root = compute_root;
// The keys not in the black list
let excluded_keys = vec!;
let proof = build_proof.unwrap;
assert_eq!;
assert!;