rippled
Public Member Functions | Private Attributes | List of all members
ripple::NoZeroEscrow Class Reference

Invariant: an escrow entry must take a value between 0 and INITIAL_XRP drops exclusive. 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

bool bad_ = false
 

Detailed Description

Invariant: an escrow entry must take a value between 0 and INITIAL_XRP drops exclusive.

Definition at line 275 of file InvariantCheck.h.

Member Function Documentation

◆ visitEntry()

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

Definition at line 261 of file InvariantCheck.cpp.

◆ finalize()

bool ripple::NoZeroEscrow::finalize ( STTx const &  ,
TER const  ,
XRPAmount const  ,
ReadView const &  ,
beast::Journal const &  j 
)

Definition at line 287 of file InvariantCheck.cpp.

Member Data Documentation

◆ bad_

bool ripple::NoZeroEscrow::bad_ = false
private

Definition at line 277 of file InvariantCheck.h.