pub fn get_alt_block_extended_header_from_height(
height: &AltBlockHeight,
table: &impl Tables,
) -> Result<ExtendedBlockHeader, RuntimeError>
Expand description
Retrieves the ExtendedBlockHeader
of the alt-block with an exact AltBlockHeight
.
This function will look at only the blocks with the given AltBlockHeight::chain_id
, no others
even if they are technically part of this chain.
§Errors
This function returns RuntimeError::KeyNotFound
if the input (if applicable) doesn’t exist or other RuntimeError
’s on database errors.