pub fn insert_number_to_key_mapping<N: As<u64> + Clone, H: AsRef<[u8]>>(
	transaction: &mut DBTransaction,
	key_lookup_col: Option<u32>,
	number: N,
	hash: H,
) {
	transaction.put_vec(
		key_lookup_col,
		number_index_key(number.clone()).as_ref(),
		number_and_hash_to_lookup_key(number, hash),
	)
}
/// Place a number mapping into the database. This maps number to current perceived
/// block hash at that position.
Place a number mapping into the database. This maps number to current perceived
block hash at that position.
Place a number mapping into the database . This maps number to current perceived block hash at that position .
pub fn insert_number_to_key_mapping<N: As<u64> + Clone, H: AsRef<[u8]>>(
	transaction: &mut DBTransaction,
	key_lookup_col: Option<u32>,
	number: N,
	hash: H,
) {
	transaction.put_vec(
		key_lookup_col,
		number_index_key(number.clone()).as_ref(),
		number_and_hash_to_lookup_key(number, hash),
	)
}
pub fn insert_number_to_key_mapping < N : As < u64 > + Clone , H : AsRef < [ u8 ] > > ( transaction : & mut DBTransaction , key_lookup_col : Option < u32 > , number : N , hash : H , ) { transaction . put_vec ( key_lookup_col , number_index_key ( number . clone ( ) ) . as_ref ( ) , number_and_hash_to_lookup_key ( number , hash ) , ) }
Place a number mapping into the database.
Place a number mapping into the database .
transaction
&mut DBTransaction
key_lookup_col
Option<u32>
number
N
hash
H
transaction
&mut DBTransaction
key_lookup_col
Option<u32>
number
N
hash
H