pub(crate) fn get_block_hash(db: &Db, height: u32) -> Result<Option<H256>>
Expand description

Gets the block hash from the local database given a block height. Similar the Node’s RPC.

Some if the block exists, None if the block does not exist.