Function get_block_complete_entry_from_height

Source
pub fn get_block_complete_entry_from_height(
    block_height: &BlockHeight,
    tables: &impl TablesIter,
) -> Result<BlockCompleteEntry, RuntimeError>
Expand description

Retrieve a BlockCompleteEntry from the database.

§Errors

This function returns cuprate_database::RuntimeError::KeyNotFound if the input (if applicable) doesn’t exist or other RuntimeError’s on database errors.