Gate a transaction based on static information.
PreflightResult preflight( Application& app, Rules const& rules, STTx const& tx, ApplyFlags flags, beast::Journal j);
The transaction is checked against all possible validity constraints that do not require a ledger.
Name |
Description |
---|---|
|
The current running |
|
The |
|
The transaction to be checked. |
|
|
|
A journal. |
PreflightResult
,
preclaim
,
doApply
,
apply
A PreflightResult
object
containing, among other things, the TER
code.
#include <ripple/app/tx/applySteps.h>