TER checkInvariants(TER const result, XRPAmount const fee)
Applies all invariant checkers one by one.
const beast::Journal journal
void discard()
Discard changes and start fresh.
void apply(TER)
Apply the transaction result to the base.
void visit(std::function< void(uint256 const &key, bool isDelete, std::shared_ptr< SLE const > const &before, std::shared_ptr< SLE const > const &after)> const &func)
Visit unapplied changes.
TER checkInvariantsHelper(TER const result, XRPAmount const fee, std::index_sequence< Is... >)
ApplyContext(Application &app, OpenView &base, STTx const &tx, TER preclaimResult, XRPAmount baseFee, ApplyFlags flags, beast::Journal=beast::Journal{beast::Journal::getNullSink()})
std::optional< ApplyViewImpl > view_
std::size_t size()
Get the number of unapplied changes.
TER failInvariantCheck(TER const result)