pub fn load_chain_tip(
conn: &mut SqliteConnection,
) -> Result<Option<BlockHeader>, DatabaseError>Expand description
Loads the chain tip (block header with the highest block number) from the database.
Returns None if no block headers have been persisted (i.e. bootstrap has not been run).