Block Reference
CSV
Timelock Family
TYPE 0x0101 · TIMELOCK FAMILY

CSV

Relative timelock in blocks (BIP 68 / BIP 112). Checks that sufficient blocks have been mined since the UTXO was confirmed.

Timelock Invertible
CSV UTXO created LOCKED SPENDABLE sequence_value blocks must elapse → SATISFIED
FieldData TypeSizeSideDescription
sequence_valueNUMERIC1-4 BConditionsBIP 68 sequence value in blocks

No witness fields required — evaluation uses the input sequence number from the transaction context.

0x0101 0 1 NUMERIC · 3B Conditions = 4 + 5 = 9 bytes
0x0101 0 0 Witness = 4 bytes (empty block)
Total 15 bytes
1.Read sequence_value from NUMERIC field. Negative → ERROR
2.If SEQUENCE_LOCKTIME_DISABLE_FLAG is set → SATISFIED (disabled)
3.CheckSequence(value). If fails → UNSATISFIED
4.Pass → SATISFIED
ConditionResult
Missing NUMERIC fieldERROR
Negative sequence valueERROR
SEQUENCE_LOCKTIME_DISABLE_FLAG setSATISFIED
Sufficient blocks elapsed (CheckSequence passes)SATISFIED
Insufficient blocks elapsedUNSATISFIED
Conditions (relative locktime of 144 blocks)
{
  "type": "CSV",
  "inverted": false,
  "fields": [
    { "type": "NUMERIC", "value": 144 }
  ]
}

This requires 144 block confirmations (~1 day) since the UTXO was created before it can be spent.

Lightning Commitment Delay
Revocation paths in Lightning commitment transactions use CSV to enforce a dispute window. The broadcaster must wait N blocks before claiming their output, giving the counterparty time to penalize old states.
Vault Cooling Period
Hot wallet spends are routed through a vault UTXO that requires a cooldown period in blocks before it can be swept, limiting damage from key compromise and allowing time for clawback.
Rate-Limiting Covenant Spends
Each UTXO in a covenant chain requires a minimum number of block confirmations before the next spend, throttling the rate at which funds can be extracted from a contract.
← KEY_REF_SIG CSV_TIME →