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

Synopsis

Declared in <validation.h>

[[requires_capability(0x7fb95f8de188), requires_capability(0x7fb96ab26548), requires_capability(0x7fb96d979548), requires_capability(0x7fb98737a0f8)]]
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