Decentralised News · 2027 research edition · Primary evidence checked 28 November 2026
What Matters
A confirmed Bitcoin output can still be unavailable through a particular spending path. That path may require an absolute height or time, or a delay measured from confirmation. The useful question is precise: do the declared timelock conditions pass for this candidate block and these transaction fields? A wallet balance and a count of confirmations do not answer it. Bitcoin’s CLTV specification and CSV specification define the two script checks considered here.
The Signal
The boundary is easy to misread. A nonzero absolute lock requires the relevant comparison to be greater than the lock value. A relative delay passes at its calculated first-eligible height or median time. Time comparisons use chain-derived median time, not the reader’s clock. We checked those distinctions against Bitcoin Core v32.1’s finality and sequence-lock implementation.
DN Alpha Thesis
Record the chosen path, the actual transaction fields and the relevant chain anchors before assigning an eligibility result. Then keep three answers separate: whether the script comparison passes, whether its associated timing conditions are met, and whether a complete transaction can actually spend. The worksheet provides the first two within a deliberately limited model. It leaves a future wall-clock date unknown.
All numerical examples below are fictional. “2027” identifies this research edition; it does not imply that we observed future network rules, funded a test wallet or submitted a transaction.
DN Bitcoin Timelock Eligibility Worksheet
Hypothetical example, ready to edit. Defaults are teaching inputs. Use evidence for your declared context; unknown optional values remain unknown.
All defaults are fictional. Declare a verified active CLTV or CSV path on one regular already-confirmed Bitcoin mainnet UTXO; the worksheet does not verify that declaration. CSV minimum is its normalized 16-bit count; time counts represent 512-second units. Actual nLockTime and nSequence may impose additional delay and are checked separately. Coinbase, unconfirmed/same-block inputs, negative or disabled CSV operands, multiple or unknown script conditions and alternative branches are outside scope. Record matching block hashes separately and refresh after a reorganization. No wallet connection, key, transaction construction, signature, broadcast, fee quote, mempool admission or inclusion prediction is provided.
Start with a spending path, not an address
Imagine a treasury operator who sees a confirmed deposit and expects to use a delayed recovery path. Before calculating a countdown, the operator needs the actual condition for that path. An address copied from a dashboard is insufficient evidence of the relevant script, its branches or which branch an authorized spender can satisfy. Bitcoin Core’s descriptor documentation describes script expressions, including script trees and Miniscript conditions. Those descriptions carry more information than a balance label.
Our supported case is one reader-declared, verified, active CLTV or CSV requirement on a regular Bitcoin mainnet output confirmed before the candidate block. The worksheet does not inspect a script or establish that this is its only relevant condition. If a path contains several unreviewed requirements, or the path itself is unknown, select an unresolved or unsupported context. Do not replace missing evidence with the default example.
This differs from the authority question in our multisignature recovery analysis. Knowing who can authorize a path and knowing when its timelock condition passes are separate records. Neither should be silently substituted for the other.
Script requirements and actual transaction delays are two layers
CLTV compares its operand with the spending transaction’s nLockTime. The types must agree, the transaction value must meet the script minimum, and the selected input cannot use the final sequence value. CSV instead compares an active relative requirement with the selected input’s sequence settings, including the version, disable flag, type and masked count. These are the checks in Core’s script interpreter.
A script minimum does not necessarily equal the actual delay. A CSV minimum of 144 blocks can be satisfied by an actual sequence count of 200, while that transaction still carries the longer 200-block delay. A CSV path can also have an independent nonzero nLockTime. Conversely, a CLTV path may use sequence settings that activate a relative delay. The worksheet therefore evaluates both actual fields after checking the chosen script requirement.
Waiting cannot fix every failure. If a declared CSV requirement is paired with an incompatible sequence type, a later chain snapshot does not make the fields match. The worksheet reports a script-requirement failure separately from a timing condition that remains unmet. It does not repair or construct a transaction.
The four comparisons
Use H for candidate block height, P for the median time of the block immediately before that candidate, h for the UTXO’s confirmation height, and B for median time at height h − 1. The table assumes that the selected active script comparison passes and that the associated transaction-level lock is enforced.
| Condition | First permitted comparison value | Equality at that first value |
|---|---|---|
Nonzero absolute height N | H = N + 1 | Passes; H = N fails |
Nonzero absolute time N | P = N + 1 | Passes; P = N fails |
Relative block count n | H = h + n | Passes |
Relative time count n | P = B + 512 × n | Passes |
The absolute comparison follows Core’s finality function; the relative bases and units follow BIP68. A zero nLockTime is a separate no-absolute-delay case. Do not mechanically turn it into a height-one restriction.
Absolute height: check the candidate, not the current tip
Suppose a hypothetical path requires CLTV height 900,000, the transaction uses nLockTime = 900000, and its selected input uses sequence 4,294,967,294. The script-level minimum is satisfied. A candidate at height 900,000 still fails the absolute timing condition. A candidate at 900,001 passes that condition.
For a next-block assessment, a tip at height 900,000 means that the candidate height is 900,001. Substituting the tip height would make this example look one block later than the actual boundary. Core explicitly uses tip height + 1 in its next-block finality check.
Now increase the transaction’s actual locktime to 900,200 while leaving the script minimum unchanged. The relevant first candidate becomes 900,201. A report that records only “script requires 900,000” misses the additional restriction. Preserve the actual field values with the calculation so a later reviewer can distinguish the intended policy from the proposed transaction.
Absolute time: median time is not the current clock
BIP113 makes the previous block’s median time the cutoff for these absolute time comparisons. Core’s median-time implementation takes the median of the relevant last 11 block timestamps. The candidate block’s own timestamp and a laptop’s current time are different inputs.
In a fictional example, set both the CLTV time operand and actual nLockTime to 1,700,000,000. If the candidate’s preceding-block MTP is exactly 1,700,000,000, the absolute condition remains unmet. It passes at a preceding-block MTP of at least 1,700,000,001.
The one-unit difference is one second in the MTP comparison. It is not a promise that waiting one wall-clock second will change the result. The worksheet labels this as an MTP shortfall and refuses to turn it into an arrival estimate. A team deciding when to pay an invoice should record “condition not yet met” separately from any operational deadline.
Relative height: confirmation height plus the actual count
Consider a regular output confirmed at hypothetical height 900,000. Its declared active CSV path requires 144 blocks. With transaction version 2 and an actual height-type sequence count of 144, the first candidate height permitted by the relative condition is 900,144.
At candidate height 900,143, the worksheet shows a shortfall of one height unit. At 900,144, that condition passes. This is the default example: change the candidate height by one to observe the boundary. It does not imply that any real output exists at these coordinates.
Core represents the boundary internally as the last invalid height: 900000 + 144 − 1 = 900143. It then requires the candidate to exceed that value. Our worksheet displays the equivalent first-eligible value. That relationship is visible in CalculateSequenceLocks and EvaluateSequenceLocks.
If the actual masked sequence count is 200, the first candidate moves to 900,200 even though the script minimum remains 144. Avoid a loose statement such as “144 confirmations have passed” unless its counting convention is explicit. Confirmation height, candidate height and actual sequence count form a clearer audit record.
Relative time: use the block before confirmation as the base
The relative-time base is especially easy to shift accidentally. BIP68 uses the MTP of the block immediately before the output’s confirmation block. The delay is the actual masked sequence count multiplied by 512 seconds. It is not measured from the funding block’s raw timestamp, the time a wallet first noticed the deposit, or a website’s display time.
Take a fictional base MTP of 1,700,000,000 and a count of three time units. The delay is 3 × 512 = 1536 seconds of the rule’s time measurement. The first allowed prior-block MTP is 1,700,001,536. A comparison value of 1,700,001,535 fails; equality at 1,700,001,536 passes.
In the worksheet, enter three in the normalized CSV-minimum field. A corresponding actual time-type sequence is 4,194,307: the time flag plus the count. The source for the flag, 16-bit mask and granularity is Core’s transaction constants. The tool uses exact unsigned decimal strings rather than rounded numerical display values.
Changing the actual time count to four changes the actual delay to 2,048 seconds. The script may still accept a minimum of three, but the earlier three-unit result is no longer sufficient for that transaction. This distinction matters when comparing two proposed records that use the same policy wording.
Two clocks can constrain the same record
Suppose the 144-block CSV example reaches candidate height 900,144, but the transaction also has an absolute time lock of 1,700,000,000. At preceding-block MTP 1,700,000,000, the relative-height condition passes and the absolute-time condition fails. Advancing the height comparison alone does not resolve the time comparison.
The reverse combination is also possible within the model. A CLTV height minimum of 900,100 with actual locktime 900,100 passes its absolute condition at candidate 900,101. If the same input carries an active 200-block sequence delay from confirmation height 900,000, its relative condition still requires candidate 900,200.
The worksheet takes the larger applicable height threshold and the larger applicable MTP threshold separately. It never adds a block count to Unix seconds. If an unknown transaction field could introduce another restriction, the aggregate answer remains unresolved even when one individually known comparison passes.
Prepare a reproducible record without exposing signing material
- Establish the supported path. Record which active CLTV or CSV condition was reviewed, its operand and units, and who verified the relevant script context. Do not enter a seed phrase, private key or signing authorization.
- Preserve the actual fields. Record the transaction version and locktime, plus the selected input’s sequence. A script minimum alone is insufficient. This worksheet accepts values for arithmetic; it does not decode or build a transaction.
- Anchor the input. Keep the output reference and its confirmation block height and hash in a private working record. Establish that it is a regular confirmed output rather than an excluded coinbase or unconfirmed case.
- Anchor the comparison. Record the candidate height and its preceding block hash and MTP. For relative time, also record the block immediately before confirmation and that block’s MTP. Use the same chain history throughout.
- Export the scenario and recheck the record when context changes. An exact arithmetic result can still describe stale or mismatched evidence. Preserve the source date, branch declaration and unknowns alongside the numbers.
For readers collecting their own read-only node records, Core’s blockchain RPC implementation exposes fields such as height, block hash and median time through the relevant chain and block responses. We did not call a node or collect a funded-wallet record for this article. A height copied from one snapshot and a median time from another should not be described as a verified matching snapshot.
What a passing result leaves open
The positive result is deliberately named “declared selected-input timelock conditions are met.” It does not claim that the output is still unspent, that signatures exist, that all other inputs qualify, or that the complete script succeeds. It also establishes neither mempool acceptance nor miner inclusion. Those questions require evidence beyond the supported worksheet inputs.
Excluded cases include unconfirmed or same-block inputs, coinbase maturity, unknown or multiple unreviewed script conditions, and alternative paths. An active CSV requirement is also distinct from a CSV operand with the disable flag set, which the specification treats differently. The worksheet does not offer that no-op form as a delayed path. Its zero-count examples cover only the stated already-confirmed-input scope; they do not assert that every zero-count spend requires another confirmation.
Fee affordability remains a separate decision, addressed in our Bitcoin UTXO cost worksheet. Directional payment liquidity is covered in our Lightning liquidity analysis, while destination availability belongs to the emergency liquidity model. A passing timelock comparison supplies one piece of those broader operational assessments.
Methodology, reproducibility and disclosure
We checked the primary sources on 28 November 2026. The implementation anchor is Bitcoin Core v32.1, released 28 October 2026, commit f0de87f040621468b956f01f526a43a010310501. BIPs 65, 68, 112 and 113 are pinned to repository commit 9f3d3bc6a60db16efbdc71ac8f7ea30217fc0c39. These are source reviews, not a claim that we ran a funded Bitcoin experiment.
The original JavaScript definition passed 62 predetermined local cases covering exact boundaries, combined constraints, flags, unknowns, malformed input and serialization. A separate original Python reference passed 38 complete synthetic cases using the last-invalid representation. These checks compare arithmetic and stated scope; they do not replace Bitcoin Core transaction validation.
Download the synthetic boundary fixtures, offline Python reference, recorded reference results and reproduction instructions. No affiliate link is included. The worksheet requires no wallet connection or service signup. Corrections can be sent to press@decentralised.news.
Frequently asked questions
Why can confirmed Bitcoin still be unavailable through a chosen spending path?
Confirmation records the output in a block. The chosen path may also require a CLTV or CSV condition, and the spending transaction must satisfy those conditions. This worksheet checks declared timelock conditions only; it does not verify signatures, all other inputs or complete spendability.
Does an absolute lock pass when the candidate height or MTP equals nLockTime?
For a nonzero active absolute lock, no. The relevant candidate height or prior-block median time must be strictly greater than nLockTime. With nLockTime 900000, the first height allowed by that condition is 900001. nLockTime 0 is a separate no-absolute-delay case.
When does a relative 144-block delay start?
For the supported confirmed-input case, the first candidate height is the confirmation height plus the actual masked sequence count. If the output confirms at 900000 and that count is 144, the first height is 900144. An actual sequence count larger than the script minimum imposes the larger delay.
Can a larger fee make an unmet timelock condition pass?
A fee does not change the height, MTP, version, locktime or sequence comparisons. Fee economics and miner selection are separate questions after the relevant consensus conditions are satisfied. The worksheet does not estimate a fee or promise inclusion.
Does reaching the threshold automatically send or recover the funds?
No. A threshold only changes eligibility under that condition. It does not produce a signature, choose a branch or broadcast a transaction. Another path cannot be assumed from an address, and a future wall-clock eligibility date remains unknown in this worksheet.
Primary source register
- BIP65: CHECKLOCKTIMEVERIFY — reviewed 2026-11-28
- BIP113: Median time past for lock-time calculations — reviewed 2026-11-28
- BIP68: Relative lock-time using consensus-enforced sequence numbers — reviewed 2026-11-28
- BIP112: CHECKSEQUENCEVERIFY — reviewed 2026-11-28
- Bitcoin Core v32.1 consensus transaction verification — reviewed 2026-11-28
- Bitcoin Core v32.1 script interpreter — reviewed 2026-11-28
- Bitcoin Core v32.1 transaction constants — reviewed 2026-11-28
- Bitcoin Core v32.1 candidate-block validation — reviewed 2026-11-28
- Bitcoin Core v32.1 median-time implementation — reviewed 2026-11-28
- Bitcoin Core v32.1 blockchain RPC implementation — reviewed 2026-11-28
- Bitcoin Core v32.1 descriptor documentation — reviewed 2026-11-28
- Bitcoin Core v32.1 release — reviewed 2026-11-28
Keep the source register and example
Download the reviewed source register (JSON) and hypothetical worksheet example (JSON). The worksheet also exports your entered scenario. Historical observations linked in the article are separate from its fictional defaults.




