mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Consensus timing and avalanche.
Transaction position change. Track transaction data for all disputed transactions. Update our set as our 'vote' changes.
This commit is contained in:
@@ -368,7 +368,8 @@ int NetworkOPs::beginConsensus(Ledger::pointer closingLedger, bool isEarly)
|
||||
|
||||
// Create a consensus object to get consensus on this ledger
|
||||
if (!!mConsensus) mConsensus->abort();
|
||||
mConsensus = boost::make_shared<LedgerConsensus>(prevLedger);
|
||||
mConsensus = boost::make_shared<LedgerConsensus>(prevLedger,
|
||||
theApp->getMasterLedger().getCurrentLedger()->getCloseTimeNC());
|
||||
mConsensus->closeTime(closingLedger); // FIXME: Create consensus a few seconds before close time
|
||||
|
||||
#ifdef DEBUG
|
||||
|
||||
Reference in New Issue
Block a user