Function sp_trie::prefixed_key
source · pub fn prefixed_key<H>(
key: &<H as Hasher>::Out,
prefix: (&[u8], Option<u8>),
) -> Vec<u8> ⓘwhere
H: Hasher,
Expand description
Various re-exports from the memory-db
crate.
Derive a database key from hash value of the node (key) and the node prefix.