rippled
Public Member Functions | Public Attributes | List of all members
ripple::PreflightResult Struct Reference

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

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...
 
const Rules rules
 From the input - the rules. More...
 
const TxConsequences consequences
 Consequences of the transaction. More...
 
const ApplyFlags flags
 From the input - the flags. More...
 
const beast::Journal j
 From the input - the journal. More...
 
const NotTEC 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 150 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 169 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 154 of file applySteps.h.

◆ rules

const Rules ripple::PreflightResult::rules

From the input - the rules.

Definition at line 156 of file applySteps.h.

◆ consequences

const TxConsequences ripple::PreflightResult::consequences

Consequences of the transaction.

Definition at line 158 of file applySteps.h.

◆ flags

const ApplyFlags ripple::PreflightResult::flags

From the input - the flags.

Definition at line 160 of file applySteps.h.

◆ j

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

From the input - the journal.

Definition at line 162 of file applySteps.h.

◆ ter

const NotTEC ripple::PreflightResult::ter

Intermediate transaction result.

Definition at line 165 of file applySteps.h.