Build the new last closed ledger.
RCLCxLedger buildLCL( RCLCxLedger const& previousLedger, RCLTxSet const& set, NetClock::time_point closeTime, bool closeTimeCorrect, NetClock::duration closeResolution, std::chrono::milliseconds roundTime, CanonicalTXSet& retriableTxs);
Accept the given the provided set of consensus transactions and build the last closed ledger. Since consensus just agrees on which transactions to apply, but not whether they make it into the closed ledger, this function also populates retriableTxs with those that can be retried in the next round.
Name |
Description |
---|---|
|
Prior ledger building upon |
|
The set of transactions to apply to the ledger |
|
The the ledger closed |
|
Whether consensus agreed on close time |
|
Resolution used to determine consensus close time |
|
Duration of this consensus rorund |
|
Populate with transactions to retry in next round |
The newly built ledger