xrpld
Loading...
Searching...
No Matches
xrpl::PreclaimContext Struct Reference

State information when determining if a tx is likely to claim a fee. More...

#include <Transactor.h>

Collaboration diagram for xrpl::PreclaimContext:

Public Member Functions

 PreclaimContext (ServiceRegistry &registry, ReadView const &view, TER preflightResult, STTx const &tx, ApplyFlags flags, std::optional< uint256 > parentBatchId, beast::Journal j=beast::Journal{beast::Journal::getNullSink()})
 PreclaimContext (ServiceRegistry &registry, ReadView const &view, TER preflightResult, STTx const &tx, ApplyFlags flags, beast::Journal j=beast::Journal{beast::Journal::getNullSink()})
PreclaimContextoperator= (PreclaimContext const &)=delete

Public Attributes

std::reference_wrapper< ServiceRegistryregistry
ReadView const & view
TER preflightResult
ApplyFlags flags
STTx const & tx
std::optional< uint256 const > const parentBatchId
beast::Journal const j

Detailed Description

State information when determining if a tx is likely to claim a fee.

Definition at line 82 of file Transactor.h.

Constructor & Destructor Documentation

◆ PreclaimContext() [1/2]

xrpl::PreclaimContext::PreclaimContext ( ServiceRegistry & registry,
ReadView const & view,
TER preflightResult,
STTx const & tx,
ApplyFlags flags,
std::optional< uint256 > parentBatchId,
beast::Journal j = beast::Journal{beast::Journal::getNullSink()} )

Definition at line 93 of file Transactor.h.

◆ PreclaimContext() [2/2]

xrpl::PreclaimContext::PreclaimContext ( ServiceRegistry & registry,
ReadView const & view,
TER preflightResult,
STTx const & tx,
ApplyFlags flags,
beast::Journal j = beast::Journal{beast::Journal::getNullSink()} )

Definition at line 114 of file Transactor.h.

Member Function Documentation

◆ operator=()

PreclaimContext & xrpl::PreclaimContext::operator= ( PreclaimContext const & )
delete

Member Data Documentation

◆ registry

std::reference_wrapper<ServiceRegistry> xrpl::PreclaimContext::registry

Definition at line 85 of file Transactor.h.

◆ view

ReadView const& xrpl::PreclaimContext::view

Definition at line 86 of file Transactor.h.

◆ preflightResult

TER xrpl::PreclaimContext::preflightResult

Definition at line 87 of file Transactor.h.

◆ flags

ApplyFlags xrpl::PreclaimContext::flags

Definition at line 88 of file Transactor.h.

◆ tx

STTx const& xrpl::PreclaimContext::tx

Definition at line 89 of file Transactor.h.

◆ parentBatchId

std::optional<uint256 const> const xrpl::PreclaimContext::parentBatchId

Definition at line 90 of file Transactor.h.

◆ j

beast::Journal const xrpl::PreclaimContext::j

Definition at line 91 of file Transactor.h.