CheckFinalTxAtTip

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

Synopsis

Declared in <validation.h>

[[requires_capability(0x7fd753b418b8), requires_capability(0x7fd74da036a8), requires_capability(0x7fd74aa4e5d8), requires_capability(0x7fd7530d8978)]]
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.