PrevUpHomeNext

Consensus::startRound

Kick-off the next round of consensus.

Synopsis
void
startRound(
    NetClock::time_point const& now,
    typename Ledger_t::ID const& prevLgrId,
    Ledger_t const& prevLgr);
Description

Called by the client code to start each round of consensus.

Parameters

Name

Description

now

The network adjusted time

prevLgrId

the ID/hash of the last ledger

prevLgr

Best guess of what the last closed ledger was.

Remarks

prevLgrId is not required to the ID of prevLgr since the ID is shared independent of the full ledger.


PrevUpHomeNext