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.
Declared in <consensus/tx_verify.h>
bool
SequenceLocks(
CTransaction const& tx,
int flags,
std::vector<int>& prevHeights,
CBlockIndex const& block);
true if tx satisfies its BIP 68 sequence locks for block.
| 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. |