pub fn block_exists(
block_hash: &BlockHash,
table_block_heights: &impl DatabaseRo<BlockHeights>,
) -> DbResult<bool>Expand description
Check if a block exists in the database.
ยงErrors
Note that this will never return Err(RuntimeError::KeyNotFound),
as in that case, Ok(false) will be returned.
Other errors may still occur.