CheckFinalTxAtTip

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

Synopsis

Declared in <validation.h>

[[requires_capability(0x7f2e1b92a4c8), requires_capability(0x7f2e275a36a8), requires_capability(0x7f2e36964aa8), requires_capability(0x7f2e35450cf8)]]
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.