PrevUpHomeNext

calculateConsequences

Determine the XRP balance consequences if a transaction consumes the maximum XRP allowed.

Synopsis
TxConsequences
calculateConsequences(
    PreflightResult const& preflightResult);
Description

The transaction has been checked and validated using preflight

Parameters

Name

Description

preflightResult

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

Return Value

A TxConsequences object containing the "worst case" consequences of applying this transaction to a ledger.

See Also

TxConsequences

Header

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


PrevUpHomeNext