|
rippled
|
Invariant: We should never charge a transaction a negative fee or a fee that is larger than what the transaction itself specifies. More...
#include <InvariantCheck.h>
Public Member Functions | |
| void | visitEntry (bool, std::shared_ptr< SLE const > const &, std::shared_ptr< SLE const > const &) |
Static Public Member Functions | |
| static bool | finalize (STTx const &, TER const, XRPAmount const, ReadView const &, beast::Journal const &) |
Invariant: We should never charge a transaction a negative fee or a fee that is larger than what the transaction itself specifies.
We can, in some circumstances, charge less.
Definition at line 109 of file InvariantCheck.h.
| void xrpl::TransactionFeeCheck::visitEntry | ( | bool | , |
| std::shared_ptr< SLE const > const & | , | ||
| std::shared_ptr< SLE const > const & | |||
| ) |
Definition at line 48 of file InvariantCheck.cpp.
|
static |
Definition at line 57 of file InvariantCheck.cpp.