Function cfxcore::pos::mempool::bootstrap

source ·
pub fn bootstrap(
    config: &NodeConfig,
    db_with_cache: Arc<CachedPosLedgerDB>,
    network_sender: NetworkSender,
    network_receivers: NetworkReceivers,
    client_events: Receiver<(SignedTransaction, Sender<Result<SubmissionStatus>>)>,
    consensus_requests: Receiver<ConsensusRequest>,
    state_sync_requests: Receiver<CommitNotification>,
    mempool_reconfig_events: Receiver<(), OnChainConfigPayload>
) -> Runtime