Block Reference
TIMELOCKED_SIG
Compound Family
TYPE 0x0701 · COMPOUND FAMILY

TIMELOCKED_SIG

Signature verification combined with a relative timelock (CSV) in a single block. Collapses the common SIG + CSV two-block pattern, saving 8 bytes on wire.

Compound Non-Invertible
TIMELOCKED_SIG SIG VERIFY + CSV CHECK Both must pass for block to be SATISFIED
FieldData TypeSizeSideDescription
scheme SCHEME 1 B Conditions Signature scheme identifier (0x01 = Schnorr, 0x02 = ECDSA). Routes to post-quantum verifier when PQ scheme set.
timelock NUMERIC 1-4 B Conditions Relative timelock in blocks (BIP 68 sequence value)
pubkey PUBKEY 32-33 B Witness Public key (x-only 32B or compressed 33B)
signature SIGNATURE 64-65 B Witness Schnorr signature (64B) or with sighash byte (65B)

Public key folded into Merkle leaf via merkle_pub_key (PubkeyCountForBlock = 1). No key field in conditions.

Conditions side (in scriptPubKey):

0x0701 0 3 SCHEME · 1B NUMERIC · 3B = 12 bytes

Witness side (in input witness):

0x0701 0 2 PUBKEY · 32B SIGNATURE · 64B = 104 bytes
Total (conditions + witness) 150 bytes

Compared to separate SIG + CSV blocks: 157 bytes → 149 bytes (saves 8B / 5.1%)

1. Verify witness PUBKEY against Merkle leaf (merkle_pub_key). If mismatch → UNSATISFIED
2. Check for SCHEME field. If PQ scheme, route to post-quantum verifier.
3. Verify SIGNATURE against PUBKEY using Schnorr (64-65B) or ECDSA (8-72B). If invalid → UNSATISFIED
4. If SEQUENCE_LOCKTIME_DISABLE_FLAG is set in timelock → SATISFIED (no CSV check)
5. Verify CheckSequence(timelock). If fails → UNSATISFIED
6. Both checks passed → SATISFIED
ConditionResult
Missing required fieldsERROR
Merkle leaf pubkey count mismatchERROR
Negative timelock valueERROR
Signature size out of rangeERROR
Merkle leaf verification failsUNSATISFIED
Signature verification failsUNSATISFIED
CSV sequence check failsUNSATISFIED
Signature valid AND timelock elapsedSATISFIED
Conditions (scriptPubKey)
{
  "type": "TIMELOCKED_SIG",
  "inverted": false,
  "fields": [
    { "type": "PUBKEY", "hex": "02abc1...33 bytes" },
    { "type": "SCHEME", "hex": "01" },
    { "type": "NUMERIC", "value": 144 }
  ]
}
Witness (input)
{
  "type": "TIMELOCKED_SIG",
  "inverted": false,
  "fields": [
    { "type": "PUBKEY", "hex": "02abc1...33 bytes" },
    { "type": "SIGNATURE", "hex": "30440...64 bytes" },
    { "type": "NUMERIC", "value": 144 }
  ]
}
Lightning Channel Force Close
The to_local output in a commitment transaction requires the broadcaster's signature after a CSV delay. TIMELOCKED_SIG encodes this in one block instead of two, reducing witness overhead across all commitment transactions.
Vault Recovery Path
Hot wallet spending with mandatory cooling-off period. The hot key can sign, but the transaction is only valid after N blocks have passed since the UTXO was confirmed.
Inheritance Planning
Beneficiary can claim funds after an extended CSV delay (e.g., 26,280 blocks / ~6 months), proving liveness-failure of the original owner.
← COSIGN HTLC →