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...
 
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 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 181 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.

◆ rules

Rules const ripple::PreflightResult::rules

From the input - the rules.

Definition at line 168 of file applySteps.h.

◆ consequences

TxConsequences const ripple::PreflightResult::consequences

Consequences of the transaction.

Definition at line 170 of file applySteps.h.

◆ flags

ApplyFlags const ripple::PreflightResult::flags

From the input - the flags.

Definition at line 172 of file applySteps.h.

◆ j

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

From the input - the journal.

Definition at line 174 of file applySteps.h.

◆ ter

NotTEC const ripple::PreflightResult::ter

Intermediate transaction result.

Definition at line 177 of file applySteps.h.