CheckFinalTxAtTip

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

Synopsis

Declared in <validation.h>

[[requires_capability(0x7f951395a718), requires_capability(0x7f9501e99b48), requires_capability(0x7f95253386e8), requires_capability(0x7f95150bac48)]]
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.