Skip to main content

Module db

Module db 

Source

Functionsยง

load
Open a connection to the DB and apply any pending migrations.
load_block_header
Loads a block header by its block number.
load_chain_tip
Loads the chain tip (block header with the highest block number) from the database.
upsert_block_header
Upserts a block header into the database.