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

Describes the results of the preflight check. More...

#include <applySteps.h>

Collaboration diagram for xrpl::PreflightResult:

Public Member Functions

template<class Context>
 PreflightResult (Context const &ctx, std::pair< NotTEC, TxConsequences > const &result)
 Constructor.
 PreflightResult (PreflightResult const &)=default
PreflightResultoperator= (PreflightResult const &)=delete
 Deleted copy assignment operator.

Public Attributes

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.
Rules const rules
 From the input - the rules.
TxConsequences const consequences
 Consequences of the transaction.
ApplyFlags const flags
 From the input - the flags.
beast::Journal const j
 From the input - the journal.
NotTEC const ter
 Intermediate transaction result.

Detailed Description

Describes the results of the preflight check.

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

Definition at line 142 of file applySteps.h.

Constructor & Destructor Documentation

◆ PreflightResult() [1/2]

template<class Context>
xrpl::PreflightResult::PreflightResult ( Context const & ctx,
std::pair< NotTEC, TxConsequences > const & result )

Constructor.

Definition at line 163 of file applySteps.h.

◆ PreflightResult() [2/2]

xrpl::PreflightResult::PreflightResult ( PreflightResult const & )
default

Member Function Documentation

◆ operator=()

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

Deleted copy assignment operator.

Member Data Documentation

◆ tx

STTx const& xrpl::PreflightResult::tx

From the input - the transaction.

Definition at line 146 of file applySteps.h.

◆ parentBatchId

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

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

Definition at line 148 of file applySteps.h.

◆ rules

Rules const xrpl::PreflightResult::rules

From the input - the rules.

Definition at line 150 of file applySteps.h.

◆ consequences

TxConsequences const xrpl::PreflightResult::consequences

Consequences of the transaction.

Definition at line 152 of file applySteps.h.

◆ flags

ApplyFlags const xrpl::PreflightResult::flags

From the input - the flags.

Definition at line 154 of file applySteps.h.

◆ j

beast::Journal const xrpl::PreflightResult::j

From the input - the journal.

Definition at line 156 of file applySteps.h.

◆ ter

NotTEC const xrpl::PreflightResult::ter

Intermediate transaction result.

Definition at line 159 of file applySteps.h.