fn cht_key<N: As<u64>>(cht_type: u8, block: N) -> [u8; 5] {
	let mut key = [cht_type; 5];
	key[1..].copy_from_slice(&utils::number_index_key(block));
	key
}
/// Build the key for inserting header-CHT at given block.
Build the key for inserting header-CHT at given block.
Build the key for inserting header - CHT at given block .
fn cht_key<N: As<u64>>(cht_type: u8, block: N) -> [u8; 5] {
	let mut key = [cht_type; 5];
	key[1..].copy_from_slice(&utils::number_index_key(block));
	key
}
fn cht_key < N : As < u64 > > ( cht_type : u8 , block : N ) -> [ u8 ; 5 ] { let mut key = [ cht_type ; 5 ] ; key [ 1 .. ] . copy_from_slice ( & utils :: number_index_key ( block ) ) ; key }
Build the key for inserting header-CHT at given block.
Build the key for inserting header - CHT at given block .
cht_type
u8
block
N
cht_type
u8
block
N