Bitcoin time locks: CLTV, CSV and scheduled spends101 replies · 6,900 views
Thread ToolsShow Printable Version · Subscribe to this Thread · Search Thread
Started · Last reply 05 Dec 2026 · 572 words in first post
Where to open an account: Open a Trustee account.
Bitcoin time locks: CLTV, CSV and scheduled spends
What time locks do
- They delay spending, not direct it: a time lock makes an output unspendable until a block height or time passes, after which normal rules apply
- They live in the output script: the lock is part of the UTXO itself, so every node enforces it without trusting anyone's schedule
- They are irreversible once set: a locked output cannot be unlocked early by agreement, which is what makes the delay credible
- They compose with signatures: time conditions stack with key requirements, so a spend can need both the right key and the right time
The two main mechanisms
- CLTV is absolute: check-locktime-bytes locks an output until a specific block height or timestamp, and it is the older, simpler mechanism
- CSV is relative: check-sequence-within-time locks relative to when the output was created, so the lock counts from confirmation rather than a fixed date
- CSV enables relative schedules: because it counts from creation, CSV powers payment channels, vaults with withdrawal delays, and covenant constructions
- BIP versions matter: CSV arrived with BIP68, BIP112, and BIP113, and wallets and services advertise support unevenly, so compatibility checks matter
Where time locks show up in practice
- Inheritance and vaults: a delayed-spend arrangement lets an heir claim after a delay unless the owner cancels first, which is the classic vault pattern
- Payment channels: Lightning channels use CSV-based timelocks so closing transactions cannot be stolen by broadcasting old states
- Scheduled releases: payroll, subscriptions, and escrow experiments use locks to hold value until a condition's time arrives
- Covenant experiments: newer constructions combine locks with scripting to build more complex spending rules, though adoption is still early
What time locks do not do
- They do not send to heirs directly: a lock delays spending, but moving value to a specific person still requires a spend that someone signs
- They do not survive lost keys: a time lock cannot restore access if the signing keys are gone, so backups remain the primary risk
- They do not prevent fee games: a locked output still needs a fee-paying transaction to spend, and congestion can delay the unlock in practice
- They do not replace planning: locks are one tool in a custody plan, and a plan without documentation fails even when the locks work
Using time locks without surprises
- Check support before committing: CSV-dependent arrangements need wallets and services that understand the locks, and unsupported tools can misread them
- Test with small amounts: run a full cycle - lock, wait, spend - before trusting a setup with meaningful value
- Document the schedule: heights, timestamps, and who holds what should be written down, because memory fails and locks do not explain themselves
- Pair locks with backups: a time-locked vault is only as good as the keys and metadata that can eventually sign it
The takeaway
Bitcoin time locks schedule value with CLTV for absolute delays and CSV for relative ones, and both are enforced by every node because the conditions live in the output script. They power inheritance vaults, payment channels, and scheduled releases, and they compose with signatures to create spend rules no server controls. The limits are equally clear: locks delay but do not deliver, cannot fix lost keys, and require documented schedules and tested setups. The honest summary is that time locks make promises about when value moves, and keeping those promises is a matter of key management and paperwork as much as opcodes.
Thread Statistics101 replies · 6,900 views