Check if transaction will be BIP68 final in the next block to be created on top of tip.

Synopsis

Declared in <validation.h>

bool
CheckSequenceLocksAtTip(
    CBlockIndex* tip,
    LockPoints const& lock_points);

Return Value

true if the transaction's sequence locks are satisfied at the tip.

Parameters

Name

Description

tip [in]

Chain tip to check tx sequence locks against. For example, the tip of the current active chain.

lock_points [in]

LockPoints containing the height and time at which this transaction is final. Simulates calling SequenceLocks() with data from the tip passed in. The LockPoints should not be considered valid if CheckSequenceLocksAtTip returns false.

Created with MrDocs