Check if transaction is final per BIP 68 sequence numbers and can be included in a block. Consensus critical. Takes as input a list of heights at which tx's inputs (in order) confirmed.
Synopsis
Declared in <consensus/tx_verify.h>
bool
SequenceLocks(
CTransaction const& tx,
int flags,
std::vector<int>& prevHeights,
CBlockIndex const& block);
Return Value
true if tx satisfies its BIP 68 sequence locks for block.
Parameters
Name |
Description |
tx |
The transaction to test against its sequence locks. |
flags |
Lock‐time verification flags controlling BIP 68 enforcement. |
prevHeights |
Confirmation height of each of tx's inputs, in order. |
block |
Block in which tx would be included. |
Created with MrDocs