Trait bitcoinchain_interface::GetBlockHash
source · pub trait GetBlockHash {
// Required method
fn get_block_hash(&mut self, height: i32) -> u256;
}
Required Methods§
sourcefn get_block_hash(&mut self, height: i32) -> u256
fn get_block_hash(&mut self, height: i32) -> u256
Get block hash. Height must be valid or this function will abort.