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