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

Verify that MPT/XRP STAmounts are canonical in any ledger entries left after the transaction applies. More...

#include <InvariantCheck.h>

Collaboration diagram for xrpl::ValidAmounts:

Public Member Functions

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

Private Attributes

std::vector< SLE::const_pointerafterEntries_

Detailed Description

Verify that MPT/XRP STAmounts are canonical in any ledger entries left after the transaction applies.

Definition at line 401 of file InvariantCheck.h.

Member Function Documentation

◆ visitEntry()

void xrpl::ValidAmounts::visitEntry ( bool ,
SLE::const_ref ,
SLE::const_ref  )

Definition at line 1208 of file InvariantCheck.cpp.

◆ finalize()

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

Definition at line 1218 of file InvariantCheck.cpp.

Member Data Documentation

◆ afterEntries_

std::vector<SLE::const_pointer> xrpl::ValidAmounts::afterEntries_
private

Definition at line 403 of file InvariantCheck.h.