pub async fn init_consensus(
blockchain_read_handle: BlockchainReadHandle,
context_config: ContextConfig,
) -> Result<(BlockVerifierService<BlockChainContextService, TxVerifierService<MapErr<BlockchainReadHandle, fn(_: RuntimeError) -> BoxError>>, MapErr<BlockchainReadHandle, fn(_: RuntimeError) -> BoxError>>, TxVerifierService<MapErr<BlockchainReadHandle, fn(_: RuntimeError) -> BoxError>>, BlockChainContextService), BoxError>
Expand description
Initializes the consensus services.