Refactor ledger replay logic (RIPD-1547):

Also switch to use ReadView for TxQ updates.
This commit is contained in:
Brad Chase
2018-04-09 15:54:37 -04:00
committed by seelabs
parent f31ca2860f
commit 681df58b61
14 changed files with 521 additions and 198 deletions

View File

@@ -1365,8 +1365,7 @@ void NetworkOPsImp::switchLastClosedLedger (
clearNeedNetworkLedger ();
// Update fee computations.
// TODO: Needs an open ledger
//app_.getTxQ().processClosedLedger(app_, *newLCL, true);
app_.getTxQ().processClosedLedger(app_, *newLCL, true);
// Caller must own master lock
{