|
rippled
|
Invariants: Loans are internally consistent. 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::vector< std::pair< SLE::const_pointer, SLE::const_pointer > > | loans_ |
Invariants: Loans are internally consistent.
Loan.PaymentRemaining = 0 then Loan.PrincipalOutstanding = 0 Definition at line 814 of file InvariantCheck.h.
| void xrpl::ValidLoan::visitEntry | ( | bool | isDelete, |
| std::shared_ptr< SLE const > const & | before, | ||
| std::shared_ptr< SLE const > const & | after | ||
| ) |
Definition at line 2529 of file InvariantCheck.cpp.
| bool xrpl::ValidLoan::finalize | ( | STTx const & | tx, |
| TER const | , | ||
| XRPAmount const | , | ||
| ReadView const & | view, | ||
| beast::Journal const & | j | ||
| ) |
Definition at line 2541 of file InvariantCheck.cpp.
|
private |
Definition at line 818 of file InvariantCheck.h.