CheckFinalTxAtTip

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

Synopsis

Declared in <validation.h>

[[requires_capability(0x7ff37b7a8008), requires_capability(0x7ff375b06168), requires_capability(0x7ff37df40b98), requires_capability(0x7ff391aae4b8)]]
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.