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. More...
 
 PreflightResult (PreflightResult const &)=default
 
PreflightResultoperator= (PreflightResult const &)=delete
 Deleted copy assignment operator. More...
 

Public Attributes

STTx const & tx
 From the input - the transaction. More...
 
std::optional< uint256 const > const parentBatchId
 From the input - the batch identifier, if part of a batch. More...
 
Rules const rules
 From the input - the rules. More...
 
TxConsequences const consequences
 Consequences of the transaction. More...
 
ApplyFlags const flags
 From the input - the flags. More...
 
beast::Journal const j
 From the input - the journal. More...
 
NotTEC const ter
 Intermediate transaction result. More...
 

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 163 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 184 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 167 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 169 of file applySteps.h.

◆ rules

Rules const ripple::PreflightResult::rules

From the input - the rules.

Definition at line 171 of file applySteps.h.

◆ consequences

TxConsequences const ripple::PreflightResult::consequences

Consequences of the transaction.

Definition at line 173 of file applySteps.h.

◆ flags

ApplyFlags const ripple::PreflightResult::flags

From the input - the flags.

Definition at line 175 of file applySteps.h.

◆ j

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

From the input - the journal.

Definition at line 177 of file applySteps.h.

◆ ter

NotTEC const ripple::PreflightResult::ter

Intermediate transaction result.

Definition at line 180 of file applySteps.h.