|
rippled
|
Invariant: Validates several invariants for NFToken pages. More...
#include <NFTInvariant.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 &) const |
Private Attributes | |
| bool | badEntry_ = false |
| bool | badLink_ = false |
| bool | badSort_ = false |
| bool | badURI_ = false |
| bool | invalidSize_ = false |
| bool | deletedFinalPage_ = false |
| bool | deletedLink_ = false |
Invariant: Validates several invariants for NFToken pages.
The following checks are made:
Definition at line 24 of file NFTInvariant.h.
| void xrpl::ValidNFTokenPage::visitEntry | ( | bool | isDelete, |
| std::shared_ptr< SLE const > const & | before, | ||
| std::shared_ptr< SLE const > const & | after | ||
| ) |
Definition at line 14 of file NFTInvariant.cpp.
| bool xrpl::ValidNFTokenPage::finalize | ( | STTx const & | tx, |
| TER const | result, | ||
| XRPAmount const | , | ||
| ReadView const & | view, | ||
| beast::Journal const & | j | ||
| ) | const |
Definition at line 118 of file NFTInvariant.cpp.
|
private |
Definition at line 26 of file NFTInvariant.h.
|
private |
Definition at line 27 of file NFTInvariant.h.
|
private |
Definition at line 28 of file NFTInvariant.h.
|
private |
Definition at line 29 of file NFTInvariant.h.
|
private |
Definition at line 30 of file NFTInvariant.h.
|
private |
Definition at line 31 of file NFTInvariant.h.
|
private |
Definition at line 32 of file NFTInvariant.h.