Check if transaction is final and can be included in a block with the specified height and time. Consensus critical.

Synopsis

Declared in <consensus/tx_verify.h>

bool
IsFinalTx(
    CTransaction const& tx,
    int nBlockHeight,
    int64_t nBlockTime);

Return Value

true if tx is final at the given height and time.

Parameters

Name

Description

tx

The transaction to test for finality.

nBlockHeight

Height of the block that would contain tx.

nBlockTime

Time of the block that would contain tx.

Created with MrDocs