Skip to main content

get_block_extended_header

Function get_block_extended_header 

Source
pub fn get_block_extended_header(
    db: &BlockchainDatabase,
    block_hash: &BlockHash,
    tx_ro: &Snapshot,
    tapes: &TapesReadTransaction<'_>,
) -> DbResult<ExtendedBlockHeader>
Expand description

Retrieve a [ExtendedBlockHeader] from the database.

This extracts all the data from the database tables needed to create a full ExtendedBlockHeader.

ยงNotes

This is more expensive than get_block_extended_header_from_height