|
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 &) |
| 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 75 of file InvariantCheck.h.
| void ripple::TransactionFeeCheck::visitEntry | ( | bool | , |
| std::shared_ptr< SLE const > const & | , | ||
| std::shared_ptr< SLE const > const & | |||
| ) |
Definition at line 106 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 115 of file InvariantCheck.cpp.