rippled
|
Invariant: a new account root must be the consequence of a payment, must have the right starting sequence, and the payment may not create more than one new account root. 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 | |
std::uint32_t | accountsCreated_ = 0 |
std::uint32_t | accountSeq_ = 0 |
Invariant: a new account root must be the consequence of a payment, must have the right starting sequence, and the payment may not create more than one new account root.
Definition at line 300 of file InvariantCheck.h.
void ripple::ValidNewAccountRoot::visitEntry | ( | bool | , |
std::shared_ptr< SLE const > const & | before, | ||
std::shared_ptr< SLE const > const & | after | ||
) |
Definition at line 444 of file InvariantCheck.cpp.
bool ripple::ValidNewAccountRoot::finalize | ( | STTx const & | tx, |
TER const | result, | ||
XRPAmount const | , | ||
ReadView const & | view, | ||
beast::Journal const & | j | ||
) |
Definition at line 457 of file InvariantCheck.cpp.
|
private |
Definition at line 302 of file InvariantCheck.h.
|
private |
Definition at line 303 of file InvariantCheck.h.