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

Invariant: corresponding modified ledger entries should match in type and added entries should be a valid type. 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 typeMismatch_ = false
 
bool invalidTypeAdded_ = false
 

Detailed Description

Invariant: corresponding modified ledger entries should match in type and added entries should be a valid type.

Definition at line 217 of file InvariantCheck.h.

Member Function Documentation

◆ visitEntry()

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

Definition at line 604 of file InvariantCheck.cpp.

◆ finalize()

bool xrpl::LedgerEntryTypesMatch::finalize ( STTx const &  ,
TER const  ,
XRPAmount const  ,
ReadView const &  ,
beast::Journal const &  j 
)

Definition at line 635 of file InvariantCheck.cpp.

Member Data Documentation

◆ typeMismatch_

bool xrpl::LedgerEntryTypesMatch::typeMismatch_ = false
private

Definition at line 219 of file InvariantCheck.h.

◆ invalidTypeAdded_

bool xrpl::LedgerEntryTypesMatch::invalidTypeAdded_ = false
private

Definition at line 220 of file InvariantCheck.h.