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

Describes the results of the preclaim check. More...

#include <applySteps.h>

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

Public Member Functions

template<class Context >
 PreclaimResult (Context const &ctx_, TER ter_)
 Constructor.
 
 PreclaimResult (PreclaimResult const &)=default
 
PreclaimResultoperator= (PreclaimResult const &)=delete
 Deleted copy assignment operator.
 

Public Attributes

ReadView const & view
 From the input - the ledger view.
 
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.
 
ApplyFlags const flags
 From the input - the flags.
 
beast::Journal const j
 From the input - the journal.
 
TER const ter
 Intermediate transaction result.
 
bool const likelyToClaimFee
 Success flag - whether the transaction is likely to claim a fee.
 

Detailed Description

Describes the results of the preclaim check.

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

Definition at line 208 of file applySteps.h.

Constructor & Destructor Documentation

◆ PreclaimResult() [1/2]

template<class Context >
ripple::PreclaimResult::PreclaimResult ( Context const &  ctx_,
TER  ter_ 
)

Constructor.

Definition at line 231 of file applySteps.h.

◆ PreclaimResult() [2/2]

ripple::PreclaimResult::PreclaimResult ( PreclaimResult const &  )
default

Member Function Documentation

◆ operator=()

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

Deleted copy assignment operator.

Member Data Documentation

◆ view

ReadView const& ripple::PreclaimResult::view

From the input - the ledger view.

Definition at line 212 of file applySteps.h.

◆ tx

STTx const& ripple::PreclaimResult::tx

From the input - the transaction.

Definition at line 214 of file applySteps.h.

◆ parentBatchId

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

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

Definition at line 216 of file applySteps.h.

◆ flags

ApplyFlags const ripple::PreclaimResult::flags

From the input - the flags.

Definition at line 218 of file applySteps.h.

◆ j

beast::Journal const ripple::PreclaimResult::j

From the input - the journal.

Definition at line 220 of file applySteps.h.

◆ ter

TER const ripple::PreclaimResult::ter

Intermediate transaction result.

Definition at line 223 of file applySteps.h.

◆ likelyToClaimFee

bool const ripple::PreclaimResult::likelyToClaimFee

Success flag - whether the transaction is likely to claim a fee.

Definition at line 227 of file applySteps.h.