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