PrevUpHomeNext

preflight

Gate a transaction based on static information.

Synopsis
PreflightResult
preflight(
    Application& app,
    Rules const& rules,
    STTx const& tx,
    ApplyFlags flags,
    beast::Journal j);
Description

The transaction is checked against all possible validity constraints that do not require a ledger.

Parameters

Name

Description

app

The current running Application.

rules

The Rules in effect at the time of the check.

tx

The transaction to be checked.

flags

ApplyFlags describing processing options.

j

A journal.

See Also

PreflightResult, preclaim, doApply, apply

Return Value

A PreflightResult object containing, among other things, the TER code.

Header

#include <ripple/app/tx/applySteps.h>


PrevUpHomeNext