pub fn start_consensus(
    node_config: &NodeConfig,
    network_sender: ConsensusNetworkSender,
    network_events: ConsensusNetworkEvents,
    state_sync_notifier: Box<dyn ConsensusNotificationSender>,
    consensus_to_mempool_sender: Sender<ConsensusRequest>,
    diem_db: Arc<dyn DbReader>,
    reconfig_events: Receiver<(), OnChainConfigPayload>
) -> Runtime
Expand description

Helper function to start consensus based on configuration and return the runtime