xrpld
Loading...
Searching...
No Matches
xrpl::NoZeroEscrow Class Reference

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

#include <InvariantCheck.h>

Public Member Functions

void visitEntry (bool, SLE::ConstRef, SLE::ConstRef)
bool finalize (STTx const &, TER const, XRPAmount const, ReadView const &, beast::Journal const &) const

Private Attributes

bool bad_ = false

Detailed Description

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

Definition at line 295 of file InvariantCheck.h.

Member Function Documentation

◆ visitEntry()

void xrpl::NoZeroEscrow::visitEntry ( bool isDelete,
SLE::ConstRef before,
SLE::ConstRef after )

Definition at line 323 of file InvariantCheck.cpp.

◆ finalize()

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

Definition at line 408 of file InvariantCheck.cpp.

Member Data Documentation

◆ bad_

bool xrpl::NoZeroEscrow::bad_ = false
private

Definition at line 297 of file InvariantCheck.h.