Function consensus::consensus_provider::start_consensus[][src]

pub fn start_consensus(
    node_config: &NodeConfig,
    network_sender: ConsensusNetworkSender,
    network_events: ConsensusNetworkEvents,
    state_sync_notifier: Arc<dyn ConsensusNotificationSender>,
    consensus_to_mempool_sender: Sender<ConsensusRequest>,
    diem_db: DbReaderWriter,
    reconfig_events: ReconfigNotificationListener,
    peer_metadata_storage: Arc<PeerMetadataStorage>
) -> Runtime
Expand description

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