/// Hash base node into a H256
Hash base node into a H256
Hash base node into a H256
pub fn hash_base_node<H: Hasher + Default>(
    base_height: u8,
    base_key: &H256,
    base_value: &H256,
) -> H256 {
    let mut hasher = H::default();
    hasher.write_byte(base_height);
    hasher.write_h256(base_key);
    hasher.write_h256(base_value);
    hasher.finish()
}
pub fn hash_base_node < H : Hasher + Default > ( base_height : u8 , base_key : & H256 , base_value : & H256 , ) -> H256 { let mut hasher = H :: default ( ) ; hasher . write_byte ( base_height ) ; hasher . write_h256 ( base_key ) ; hasher . write_h256 ( base_value ) ; hasher . finish ( ) }
Hash base node into a H256
Hash base node into a H256
base_height
u8
base_key
&H256
base_value
&H256