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

Public Member Functions | |
| void | visitEntry (bool, std::shared_ptr< SLE const > const &, std::shared_ptr< SLE const > const &) |
| bool | finalize (STTx const &, TER const, XRPAmount const, ReadView const &, beast::Journal 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 101 of file InvariantCheck.h.
| void xrpl::XRPNotCreated::visitEntry | ( | bool | isDelete, |
| std::shared_ptr< SLE const > const & | before, | ||
| std::shared_ptr< SLE const > const & | after | ||
| ) |
Definition at line 157 of file InvariantCheck.cpp.
| bool xrpl::XRPNotCreated::finalize | ( | STTx const & | tx, |
| TER const | , | ||
| XRPAmount const | fee, | ||
| ReadView const & | , | ||
| beast::Journal const & | j | ||
| ) |
Definition at line 213 of file InvariantCheck.cpp.
|
private |
Definition at line 103 of file InvariantCheck.h.