BIP 68 (Relative Locktime)
BIP 68, in BIP-68, introduced a concept of relative locktime. Rather than referencing an absolute block number or timestamp (as BIP 65 does), it uses the age of the spent outputs in blocks or seconds. You can think of it as a countdown timer that starts once the transaction’s inputs are confirmed.
This mechanism is particularly useful when combined with OP_CHECKSEQUENCEVERIFY (CSV) from BIP 112. Developers can create more flexible payment channel designs where parties must wait a certain number of blocks to spend funds, ensuring fair closing procedures. Overall, BIP 68 helped pave the way for advanced layer-2 solutions by offering fine-grained control over transaction spendability.