rippled
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
ripple::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 474 of file InvariantCheck.h.

Member Function Documentation

◆ visitEntry()

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

Definition at line 1087 of file InvariantCheck.cpp.

◆ finalize()

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

Definition at line 1194 of file InvariantCheck.cpp.

Member Data Documentation

◆ badEntry_

bool ripple::ValidNFTokenPage::badEntry_ = false
private

Definition at line 476 of file InvariantCheck.h.

◆ badLink_

bool ripple::ValidNFTokenPage::badLink_ = false
private

Definition at line 477 of file InvariantCheck.h.

◆ badSort_

bool ripple::ValidNFTokenPage::badSort_ = false
private

Definition at line 478 of file InvariantCheck.h.

◆ badURI_

bool ripple::ValidNFTokenPage::badURI_ = false
private

Definition at line 479 of file InvariantCheck.h.

◆ invalidSize_

bool ripple::ValidNFTokenPage::invalidSize_ = false
private

Definition at line 480 of file InvariantCheck.h.

◆ deletedFinalPage_

bool ripple::ValidNFTokenPage::deletedFinalPage_ = false
private

Definition at line 481 of file InvariantCheck.h.

◆ deletedLink_

bool ripple::ValidNFTokenPage::deletedLink_ = false
private

Definition at line 482 of file InvariantCheck.h.