xrpld
Loading...
Searching...
No Matches
xrpl::PreflightContext Struct Reference

State information when preflighting a tx. More...

#include <Transactor.h>

Collaboration diagram for xrpl::PreflightContext:

Public Member Functions

 PreflightContext (ServiceRegistry &registry, STTx const &tx, uint256 parentBatchId, Rules rules, ApplyFlags flags, beast::Journal j=beast::Journal{beast::Journal::getNullSink()})
 PreflightContext (ServiceRegistry &registry, STTx const &tx, Rules rules, ApplyFlags flags, beast::Journal j=beast::Journal{beast::Journal::getNullSink()})
PreflightContextoperator= (PreflightContext const &)=delete

Public Attributes

std::reference_wrapper< ServiceRegistryregistry
STTx const & tx
Rules const rules
ApplyFlags flags
std::optional< uint256 const > parentBatchId
beast::Journal const j

Detailed Description

State information when preflighting a tx.

Definition at line 17 of file Transactor.h.

Constructor & Destructor Documentation

◆ PreflightContext() [1/2]

xrpl::PreflightContext::PreflightContext ( ServiceRegistry & registry,
STTx const & tx,
uint256 parentBatchId,
Rules rules,
ApplyFlags flags,
beast::Journal j = beast::Journal{beast::Journal::getNullSink()} )

Definition at line 27 of file Transactor.h.

◆ PreflightContext() [2/2]

xrpl::PreflightContext::PreflightContext ( ServiceRegistry & registry,
STTx const & tx,
Rules rules,
ApplyFlags flags,
beast::Journal j = beast::Journal{beast::Journal::getNullSink()} )

Definition at line 44 of file Transactor.h.

Member Function Documentation

◆ operator=()

PreflightContext & xrpl::PreflightContext::operator= ( PreflightContext const & )
delete

Member Data Documentation

◆ registry

std::reference_wrapper<ServiceRegistry> xrpl::PreflightContext::registry

Definition at line 20 of file Transactor.h.

◆ tx

STTx const& xrpl::PreflightContext::tx

Definition at line 21 of file Transactor.h.

◆ rules

Rules const xrpl::PreflightContext::rules

Definition at line 22 of file Transactor.h.

◆ flags

ApplyFlags xrpl::PreflightContext::flags

Definition at line 23 of file Transactor.h.

◆ parentBatchId

std::optional<uint256 const> xrpl::PreflightContext::parentBatchId

Definition at line 24 of file Transactor.h.

◆ j

beast::Journal const xrpl::PreflightContext::j

Definition at line 25 of file Transactor.h.