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

@@ -1146,7 +1146,7 @@ TxQ::apply(Application& app, OpenView& view,
*/
void
TxQ::processClosedLedger(Application& app,
OpenView const& view, bool timeLeap)
ReadView const& view, bool timeLeap)
{
auto const allowEscalation =
(view.rules().enabled(featureFeeEscalation));