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

Name

Description

active_chain_tip

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

tx

The transaction being evaluated.

Created with MrDocs