rippled
|
Invariant: We should never charge a transaction a negative fee or a fee that is larger than what the transaction itself specifies. More...
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 &) |
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 92 of file InvariantCheck.h.
void ripple::TransactionFeeCheck::visitEntry | ( | bool | , |
std::shared_ptr< SLE const > const & | , | ||
std::shared_ptr< SLE const > const & | |||
) |
Definition at line 34 of file InvariantCheck.cpp.
bool ripple::TransactionFeeCheck::finalize | ( | STTx const & | tx, |
TER const | , | ||
XRPAmount const | fee, | ||
ReadView const & | , | ||
beast::Journal const & | j | ||
) |
Definition at line 43 of file InvariantCheck.cpp.