Reviewed Aug 2026
DE
DA-07 · LESSON 06

Upgrade and compatibility

KEY DEFINITIONS

Terms used in this lesson

Taptree
The Merkle tree of alternative scripts committed inside a Taproot output.
Oracle
A system that reports outside information, such as a market price, for use by a protocol.
Vault
A set of Bitcoin outputs and spending rules that holds collateral and represents the current loan state.
Validator
Software or a participant that independently checks state transitions under a system's rules. The exact role depends on the protocol being discussed.
Guardian
A Ducat policy-checking signer that can authorize or reject defined protocol transactions.
Runestone
Transaction data interpreted by the Runes protocol to describe token creation or allocation.
API
Application programming interface: a defined way for one program to request data or actions from another.
Taproot
A Bitcoin output and spending design that can combine a public-key path with privately committed alternative scripts.

Protocol versions, taptree layout, oracle event formats, key packages, indexer rules, and client compatibility require coordinated migration.

45 min Difficulty 5/5 Not started

Loading lesson visuals...

01

Learn the idea

A compatible upgrade preserves one shared interpretation of old and new state across clients, validators, Guardians, oracle events, key packages, profiles, and Bitcoin scripts. An activation boundary is the declared block height, time, or profile change at which new rules begin. Mixed-version operation means old and new components run at the same time. Existing Bitcoin outputs keep the keys and scripts committed when they were created, so some changes require an authorized migration spend.

GUIDED EXPLANATION1/4 ideas inspected
1

Inventory versioned interfaces

List transaction layouts, sequence tags, runestone parsing, taptrees, oracle event fields, request schemas, policy digests, key packages, and APIs.

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

Inspect every idea above to open it.

Important distinctionRolling back application code restores the previous protocol state.

Confirmed Bitcoin commitments and migrated keys or data remain. Operational rollback cannot rewrite already created outputs.

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.