|
rippled
|
Invariants: Loan brokers are internally consistent. More...
#include <InvariantCheck.h>

Classes | |
| struct | BrokerInfo |
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 Member Functions | |
| bool | goodZeroDirectory (ReadView const &view, SLE::const_ref dir, beast::Journal const &j) const |
Private Attributes | |
| std::map< uint256, BrokerInfo > | brokers_ |
| std::vector< SLE::const_pointer > | lines_ |
| std::vector< SLE::const_pointer > | mpts_ |
Invariants: Loan brokers are internally consistent.
LoanBroker.OwnerCount = 0 the DirectoryNode will have at most one node (the root), which will only hold entries for RippleState or MPToken objects. Definition at line 764 of file InvariantCheck.h.
|
private |
Definition at line 2370 of file InvariantCheck.cpp.
| void ripple::ValidLoanBroker::visitEntry | ( | bool | isDelete, |
| std::shared_ptr< SLE const > const & | before, | ||
| std::shared_ptr< SLE const > const & | after | ||
| ) |
Definition at line 2337 of file InvariantCheck.cpp.
| bool ripple::ValidLoanBroker::finalize | ( | STTx const & | tx, |
| TER const | , | ||
| XRPAmount const | , | ||
| ReadView const & | view, | ||
| beast::Journal const & | j | ||
| ) |
Definition at line 2414 of file InvariantCheck.cpp.
|
private |
Definition at line 778 of file InvariantCheck.h.
|
private |
Definition at line 781 of file InvariantCheck.h.
|
private |
Definition at line 784 of file InvariantCheck.h.