Module polkadot_sdk_frame::traits::base2
Expand description
Types for a base-2 merkle tree used for checking and generating proofs within the
runtime. The binary-merkle-tree
crate exposes all of these same functionality (and more), but
this library is designed to work more easily with runtime native types, which simply need to
implement Encode
/Decode
.
Structs§
- A helper structure for building a basic base-2 merkle trie and creating compact proofs for that trie.
Functions§
- Verify the existence of
key
andvalue
in a given trie root and proof.