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, 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 &) const

Private Attributes

std::vector< std::shared_ptr< SLE const > > afterEntries_

Detailed Description

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

Definition at line 376 of file InvariantCheck.h.

Member Function Documentation

◆ visitEntry()

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

Definition at line 1043 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 1053 of file InvariantCheck.cpp.

Member Data Documentation

◆ afterEntries_

std::vector<std::shared_ptr<SLE const> > xrpl::ValidAmounts::afterEntries_
private

Definition at line 378 of file InvariantCheck.h.