CheckFinalTxAtTip

Check if transaction will be final in the next block to be created.

Synopsis

Declared in <validation.h>

bool
CheckFinalTxAtTip(
    CBlockIndex const& active_chain_tip,
    CTransaction const& tx);

Return Value

true if the transaction would be final in the next block.

Parameters

NameDescription
active_chain_tipTip of the active chain the next block would build on.
txThe transaction being evaluated.