|
xrpld
|
Invariants: Loan brokers are internally consistent. More...
#include <LoanBrokerInvariant.h>

Classes | |
| struct | BrokerInfo |
Public Member Functions | |
| void | visitEntry (bool, SLE::ConstRef, SLE::ConstRef) |
| bool | finalize (STTx const &, TER const, XRPAmount const, ReadView const &, beast::Journal const &) |
Static Private Member Functions | |
| static bool | goodZeroDirectory (ReadView const &view, SLE::ConstRef dir, beast::Journal const &j) |
Private Attributes | |
| std::map< UInt256, BrokerInfo > | brokers_ |
| SLE::const_pointer | deletedBroker_ = nullptr |
| bool | multipleBrokerDeletions_ = false |
| std::vector< SLE::const_pointer > | lines_ |
| std::vector< SLE::const_pointer > | mpts_ |
Invariants: Loan brokers are internally consistent.
Definition at line 29 of file LoanBrokerInvariant.h.
|
staticprivate |
Definition at line 74 of file LoanBrokerInvariant.cpp.
| void xrpl::ValidLoanBroker::visitEntry | ( | bool | isDelete, |
| SLE::ConstRef | before, | ||
| SLE::ConstRef | after ) |
Definition at line 28 of file LoanBrokerInvariant.cpp.
| bool xrpl::ValidLoanBroker::finalize | ( | STTx const & | tx, |
| TER const | , | ||
| XRPAmount const | , | ||
| ReadView const & | view, | ||
| beast::Journal const & | j ) |
Definition at line 112 of file LoanBrokerInvariant.cpp.
|
private |
Definition at line 43 of file LoanBrokerInvariant.h.
|
private |
Definition at line 49 of file LoanBrokerInvariant.h.
|
private |
Definition at line 52 of file LoanBrokerInvariant.h.
|
private |
Definition at line 55 of file LoanBrokerInvariant.h.
|
private |
Definition at line 58 of file LoanBrokerInvariant.h.