Skip to content

Spec 13 Availability

Amp edited this page Nov 18, 2026 · 1 revision

Spec 13: Data Availability and the Fault Model

Source: spec/13-availability.md at commit a9f0d61. The file is the source of truth; this page is a summary.

Status: draft 0.3 (2026-11-16). §5 is normative (01 §14.19 C). The rest is analysis on draft 0.2 budgets.

What the chapter decides

A replica votes only when it holds every payload of a block. For a payload that a client withheld from the data tier, the only source is the sequencer, which serves repairs at 50k packets/s from a 50 ms retention. Draft 0.2 closes a session whose two copies differ, but no rule closes a session whose second copy is absent. So one client that sends only to the sequencer can stall blocks until the finality gate halts the book, in about 8 ms, and the halt does not identify the client. The chapter states the data fault model, computes the repair capacity, bounds the exposure when the sequencer also dies, and sets rules DAV-1 to DAV-4 to close the gap. It owns no mechanism that 07 already owns.

Key decisions

  • Fault model: f = 1 Byzantine voter, plus a crash or Byzantine act by the sequencer. Clients, data boxes, replicas and the sequencer may withhold, corrupt or equivocate. The network only loses paths (§1).
  • What draft 0.2 already covers: late copies, a data box that is down, copies that differ, corruption, equivocation, withheld peer repair, and an unavailable payload at sequencer death (revert case (d)) (§2).
  • The repair-capacity gap: about 185 repairs per block fit before the vote deadline, and one dedicated-lane firm sends 2,850 packets per block (§3).
  • Exposure: honest clients lose ≈ 10 fills/yr for a full F1 loss and nothing for a box crash. A withholding client's exposure is bounded only by the finality gate (§4).
  • DAV-1: missing copies are attributed per session. Q signed DataMissing reports close the session (§5 item 1).
  • DAV-2: a per-session quota on sequencer repairs (§5 item 2).
  • DAV-3: the leader may mark a reported session's unrepaired packets unavailable while the sequencer lives, so the gate does not trip. Those fills revert as case (d) (§5 item 3).
  • DAV-4: the service contract publishes DAV_TOLERANCE and states that no session can delay another session's finality (§5 item 4).

Key numbers

The §3 figures are computed from draft 0.2 budgets. The DAV thresholds are binding but are budgets (open question 2). None is measured.

Item Value § Kind
REP_SEQ_DATA_MAX_PPS 50,000 packets/s §3 (07 §5.5) budget
REP_SEQ_PKT_RETAIN_MS 50 ms §3 (05) budget
DAV_REPAIR_PER_BLOCK 185 packets §3 computed
DAV_TOLERANCE 1.3 × 10⁻³ of a block's packets §3, §5 computed
DAV_WINDOW_MS, DAV_MISS_MAX 10, 16 §5 binding threshold (budget)
DAV_SESSION_REPAIR_PPS 2,000 §5 binding threshold (budget)
Data box redirect stall ≤ 3 ms §2 budget

Section map

    1. The finding in one paragraph
    1. Fault model
    1. What draft 0.2 already guarantees
    1. The repair capacity (computed)
    1. Exposure when the sequencer also dies
    1. Rules (binding, 01 §14.19 C, decided 2026-11-16)
    1. Benchmarks and tests owned here
  • Interfaces to other chapters
  • Local definitions
  • Requests to 01
  • Open questions

Where 01 §14 overrides or refines this chapter

  • §14.19 C makes DAV-1 to DAV-4 binding. It adds reject reason 26 DATA_MISSING (with 25 reserved for RESEND_RECOVERY), which is also in §14.10.
  • §14.19 B item 4: case (d) reverts are void. The withholding session keeps its own losses, and nobody is compensated.
  • §14.16: the data home is outside F1. §4's honest-exposure bound depends on this.

Implemented by

No crate yet; the rulings bind through 01 §14.19.

Open questions

The chapter lists 4 open questions. See Open Questions.

Clone this wiki locally