pub async fn init_blockchain_manager(
clearnet_interface: NetworkInterface<ClearNet>,
blockchain_write_handle: BlockchainWriteHandle,
blockchain_read_handle: BlockchainReadHandle,
txpool_write_handle: TxpoolWriteHandle,
blockchain_context_service: BlockchainContextService,
block_downloader_config: BlockDownloaderConfig,
)
Expand description
Initialize the blockchain manager.
This function sets up the BlockchainManager
and the syncer
so that the functions in interface
can be called.