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

Synopsis

Declared in <validation.h>

[[requires_capability(0x7fbc8fa0c028), requires_capability(0x7fbc96aa4b08), requires_capability(0x7fbc84613248), requires_capability(0x7fbc930f4768)]]
bool
CheckFinalTxAtTip(
    CBlockIndex const& active_chain_tip,
    CTransaction const& tx);

Return Value

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

Parameters

Name

Description

active_chain_tip

Tip of the active chain the next block would build on.

tx

The transaction being evaluated.

Created with MrDocs