Reviewed Aug 2026
DE
BA-06 · LESSON 06

Multisig and policy composition

KEY DEFINITIONS

Terms used in this lesson

Hashlock
A spending condition that requires revealing data matching a committed hash.
Preimage
The original secret data whose hash equals a previously committed value.
Witness
Signatures, scripts, or other data supplied to satisfy a Bitcoin output’s spending condition.
CLTV
CheckLockTimeVerify: a Bitcoin Script operation that enforces an absolute time or block-height condition.
CSV
CheckSequenceVerify: a Bitcoin Script operation that enforces a relative delay after an earlier output confirms.
Hash160
SHA-256 followed by RIPEMD-160, producing the 20-byte hash used by several Bitcoin spending conditions.
CHECKSIG
The Bitcoin Script operation that checks whether a signature is valid for the required public key and transaction message.

Multiple keys, timelocks, and hashlocks can form recovery, escrow, and channel policies.

45 min Difficulty 2/5 Not started

Loading lesson visuals...

01

Learn the idea

A spending policy can combine signatures, timelocks, and hashlocks. A hashlock requires a preimage whose hash matches a commitment. An absolute timelock targets a height or time, while a relative timelock requires an output to age. Multisig requires a threshold of listed keys. Script branches let different combinations satisfy the same output.

GUIDED EXPLANATION1/5 ideas inspected
1

Write each branch as a condition

For example, the fast branch might require Alice and Bob, while recovery requires Carol after 144 blocks.

Inspect each idea before the worked example.
The worked example follows the explanation

Inspect every idea above to open it.

Important distinctionLearning a hashlock preimage always grants unilateral control of the output.

The selected branch may also require a signature, timelock state, or other condition. The complete script determines authority.

02
FINISH LEARNING FIRST

The questions unlock after every required learning activity

Inspect every guided idea, open the worked example, rebuild its mechanism, and complete the deterministic lesson tool. Your progress is saved automatically.