rippled
|
Invariant: Trust lines using XRP are not allowed. More...
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 | |
bool | xrpTrustLine_ = false |
Invariant: Trust lines using XRP are not allowed.
We iterate all the trust lines created by this transaction and ensure that they are against a valid issuer.
Definition at line 224 of file InvariantCheck.h.
void ripple::NoXRPTrustLines::visitEntry | ( | bool | , |
std::shared_ptr< SLE const > const & | , | ||
std::shared_ptr< SLE const > const & | after | ||
) |
Definition at line 410 of file InvariantCheck.cpp.
bool ripple::NoXRPTrustLines::finalize | ( | STTx const & | , |
TER const | , | ||
XRPAmount const | , | ||
ReadView const & | , | ||
beast::Journal const & | j | ||
) |
Definition at line 427 of file InvariantCheck.cpp.
|
private |
Definition at line 226 of file InvariantCheck.h.