Function cuprate_consensus::context::initialize_blockchain_context
source ยท pub async fn initialize_blockchain_context<D>(
cfg: ContextConfig,
database: D,
) -> Result<BlockChainContextService, ExtendedConsensusError>
Expand description
Initialize the blockchain context service.
This function will request a lot of data from the database so it may take a while.