rippled
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
ripple::PreflightResult Struct Reference

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

#include <applySteps.h>

Collaboration diagram for ripple::PreflightResult:
Collaboration graph
[legend]

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 162 of file applySteps.h.

Constructor & Destructor Documentation

◆ PreflightResult() [1/2]

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

Constructor.

Definition at line 183 of file applySteps.h.

◆ PreflightResult() [2/2]

ripple::PreflightResult::PreflightResult ( PreflightResult const &  )
default

Member Function Documentation

◆ operator=()

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

Deleted copy assignment operator.

Member Data Documentation

◆ tx

STTx const& ripple::PreflightResult::tx

From the input - the transaction.

Definition at line 166 of file applySteps.h.

◆ parentBatchId

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

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

Definition at line 168 of file applySteps.h.

◆ rules

Rules const ripple::PreflightResult::rules

From the input - the rules.

Definition at line 170 of file applySteps.h.

◆ consequences

TxConsequences const ripple::PreflightResult::consequences

Consequences of the transaction.

Definition at line 172 of file applySteps.h.

◆ flags

ApplyFlags const ripple::PreflightResult::flags

From the input - the flags.

Definition at line 174 of file applySteps.h.

◆ j

beast::Journal const ripple::PreflightResult::j

From the input - the journal.

Definition at line 176 of file applySteps.h.

◆ ter

NotTEC const ripple::PreflightResult::ter

Intermediate transaction result.

Definition at line 179 of file applySteps.h.