pub fn number_and_hash_to_lookup_key<N, H>(number: N, hash: H) -> Vec<u8> where
	N: As<u64>,
	H: AsRef<[u8]>
{
	let mut lookup_key = number_index_key(number).to_vec();
	lookup_key.extend_from_slice(hash.as_ref());
	lookup_key
}
/// Convert number and hash into long lookup key for blocks that are
/// not in the canonical chain.
Convert number and hash into long lookup key for blocks that are
not in the canonical chain.
Convert number and hash into long lookup key for blocks that are not in the canonical chain .
pub fn number_and_hash_to_lookup_key<N, H>(number: N, hash: H) -> Vec<u8> where
	N: As<u64>,
	H: AsRef<[u8]>
{
	let mut lookup_key = number_index_key(number).to_vec();
	lookup_key.extend_from_slice(hash.as_ref());
	lookup_key
}
pub fn number_and_hash_to_lookup_key < N , H > ( number : N , hash : H ) -> Vec < u8 > where N : As < u64 > , H : AsRef < [ u8 ] > { let mut lookup_key = number_index_key ( number ) . to_vec ( ) ; lookup_key . extend_from_slice ( hash . as_ref ( ) ) ; lookup_key }
Convert number and hash into long lookup key for blocks that are
not in the canonical chain.
Convert number and hash into long lookup key for blocks that are not in the canonical chain .
number
N
hash
H
number
N
hash
H