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