|
xrpld
|
Invariant: A transaction must not create XRP and should only destroy the XRP fee. More...
#include <InvariantCheck.h>

Public Member Functions | |
| void | visitEntry (bool, SLE::const_ref, SLE::const_ref) |
| bool | finalize (STTx const &, TER const, XRPAmount const, ReadView const &, beast::Journal const &) const |
Private Attributes | |
| std::int64_t | drops_ = 0 |
Invariant: A transaction must not create XRP and should only destroy the XRP fee.
We iterate through all account roots, payment channels and escrow entries that were modified and calculate the net change in XRP caused by the transactions.
Definition at line 125 of file InvariantCheck.h.
| void xrpl::XRPNotCreated::visitEntry | ( | bool | isDelete, |
| SLE::const_ref | before, | ||
| SLE::const_ref | after ) |
Definition at line 110 of file InvariantCheck.cpp.
|
nodiscard |
Definition at line 160 of file InvariantCheck.cpp.
|
private |
Definition at line 127 of file InvariantCheck.h.