PrevUpHomeNext

doApply

Apply a prechecked transaction to an OpenView.

Synopsis
std::pair< TER, bool >
doApply(
    PreclaimResult const& preclaimResult,
    Application& app,
    OpenView& view);
Description

The transaction has been checked and validated using preflight and preclaim

Parameters

Name

Description

preclaimResult

The result of a previous call to preclaim for the transaction.

app

The current running Application.

view

The open ledger that the transaction will attempt to be applied to.

See Also

preflight, preclaim, apply

Return Value

A pair with the TER and a bool indicating whether or not the transaction was applied.

Header

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


PrevUpHomeNext