Skip to main content

get_block_height

Function get_block_height 

Source
pub fn get_block_height(
    db: &BlockchainDatabase,
    block_hash: &BlockHash,
    tx_ro: &Snapshot,
) -> DbResult<BlockHeight>
Expand description

Retrieve a BlockHeight via its BlockHash.