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

Describes the results of the preclaim check. More...

#include <applySteps.h>

Collaboration diagram for xrpl::PreclaimResult:

Public Member Functions

template<class Context>
 PreclaimResult (Context const &ctx, TER ter)
 Constructor.
 PreclaimResult (PreclaimResult const &)=default
PreclaimResultoperator= (PreclaimResult const &)=delete
 Deleted copy assignment operator.

Public Attributes

ReadView const & view
 From the input - the ledger view.
STTx const & tx
 From the input - the transaction.
std::optional< uint256 const > const parentBatchId
 From the input - the batch identifier, if part of a batch.
ApplyFlags const flags
 From the input - the flags.
beast::Journal const j
 From the input - the journal.
TER const ter
 Intermediate transaction result.
bool const likelyToClaimFee {}
 Success flag - whether the transaction is likely to claim a fee.

Detailed Description

Describes the results of the preclaim check.

Note
All members are const to make it more difficult to "fake" a result without calling preclaim.
See also
preflight, preclaim, doApply, apply

Definition at line 186 of file applySteps.h.

Constructor & Destructor Documentation

◆ PreclaimResult() [1/2]

template<class Context>
xrpl::PreclaimResult::PreclaimResult ( Context const & ctx,
TER ter )

Constructor.

Definition at line 209 of file applySteps.h.

◆ PreclaimResult() [2/2]

xrpl::PreclaimResult::PreclaimResult ( PreclaimResult const & )
default

Member Function Documentation

◆ operator=()

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

Deleted copy assignment operator.

Member Data Documentation

◆ view

ReadView const& xrpl::PreclaimResult::view

From the input - the ledger view.

Definition at line 190 of file applySteps.h.

◆ tx

STTx const& xrpl::PreclaimResult::tx

From the input - the transaction.

Definition at line 192 of file applySteps.h.

◆ parentBatchId

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

From the input - the batch identifier, if part of a batch.

Definition at line 194 of file applySteps.h.

◆ flags

ApplyFlags const xrpl::PreclaimResult::flags

From the input - the flags.

Definition at line 196 of file applySteps.h.

◆ j

beast::Journal const xrpl::PreclaimResult::j

From the input - the journal.

Definition at line 198 of file applySteps.h.

◆ ter

TER const xrpl::PreclaimResult::ter

Intermediate transaction result.

Definition at line 201 of file applySteps.h.

◆ likelyToClaimFee

bool const xrpl::PreclaimResult::likelyToClaimFee {}

Success flag - whether the transaction is likely to claim a fee.

Definition at line 205 of file applySteps.h.