Reviewed Aug 2026
DE
DA-05 · LESSON 05

Atomic snapshot promotion

KEY DEFINITIONS

Terms used in this lesson

HTTP
Hypertext Transfer Protocol: a request-and-response protocol commonly used between web services.
Nostr
A signed-event messaging protocol; Ducat can use relays to distribute oracle material without making those relays Bitcoin validators.

The current snapshot is published only after its complete ladder succeeds, allowing clients to stay on the prior coherent snapshot after partial failure.

35 min Difficulty 4/5 Not started

Loading lesson visuals...

01

Learn the idea

Atomic promotion means wallets are shown a new current snapshot only after the full threshold ladder for that snapshot is available. It prevents a client from combining a new base price with missing or old threshold contracts.

GUIDED EXPLANATION1/4 ideas inspected
1

Publish pending state

The workflow first emits a kind 10001 pending snapshot for observability.

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

Inspect every idea above to open it.

Important distinctionAtomic means every Nostr relay receives all events at exactly the same instant.

It means the workflow does not promote the new current pointer until its complete ladder publish sequence succeeds.

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.