rippled
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
xrpl::ValidNFTokenPage Class Reference

Invariant: Validates several invariants for NFToken pages. More...

#include <InvariantCheck.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 &)
 

Private Attributes

bool badEntry_ = false
 
bool badLink_ = false
 
bool badSort_ = false
 
bool badURI_ = false
 
bool invalidSize_ = false
 
bool deletedFinalPage_ = false
 
bool deletedLink_ = false
 

Detailed Description

Invariant: Validates several invariants for NFToken pages.

The following checks are made:

Definition at line 462 of file InvariantCheck.h.

Member Function Documentation

◆ visitEntry()

void xrpl::ValidNFTokenPage::visitEntry ( bool  isDelete,
std::shared_ptr< SLE const > const &  before,
std::shared_ptr< SLE const > const &  after 
)

Definition at line 1092 of file InvariantCheck.cpp.

◆ finalize()

bool xrpl::ValidNFTokenPage::finalize ( STTx const &  tx,
TER const  result,
XRPAmount const  ,
ReadView const &  view,
beast::Journal const &  j 
)

Definition at line 1199 of file InvariantCheck.cpp.

Member Data Documentation

◆ badEntry_

bool xrpl::ValidNFTokenPage::badEntry_ = false
private

Definition at line 464 of file InvariantCheck.h.

◆ badLink_

bool xrpl::ValidNFTokenPage::badLink_ = false
private

Definition at line 465 of file InvariantCheck.h.

◆ badSort_

bool xrpl::ValidNFTokenPage::badSort_ = false
private

Definition at line 466 of file InvariantCheck.h.

◆ badURI_

bool xrpl::ValidNFTokenPage::badURI_ = false
private

Definition at line 467 of file InvariantCheck.h.

◆ invalidSize_

bool xrpl::ValidNFTokenPage::invalidSize_ = false
private

Definition at line 468 of file InvariantCheck.h.

◆ deletedFinalPage_

bool xrpl::ValidNFTokenPage::deletedFinalPage_ = false
private

Definition at line 469 of file InvariantCheck.h.

◆ deletedLink_

bool xrpl::ValidNFTokenPage::deletedLink_ = false
private

Definition at line 470 of file InvariantCheck.h.