referrerpolicy=no-referrer-when-downgrade

Module frame_support::traits::base2

source ·
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 and value in a given trie root and proof.