Repository navigation
Spec 13 Availability
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.
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.
- 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
DataMissingreports 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_TOLERANCEand states that no session can delay another session's finality (§5 item 4).
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 |
-
- The finding in one paragraph
-
- Fault model
-
- What draft 0.2 already guarantees
-
- The repair capacity (computed)
-
- Exposure when the sequencer also dies
-
- Rules (binding, 01 §14.19 C, decided 2026-11-16)
-
- Benchmarks and tests owned here
- Interfaces to other chapters
- Local definitions
- Requests to 01
- Open questions
-
§14.19 C makes DAV-1 to DAV-4 binding. It adds reject reason 26
DATA_MISSING(with 25 reserved forRESEND_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.
No crate yet; the rulings bind through 01 §14.19.
The chapter lists 4 open questions. See Open Questions.
Overview
Working on VYRN
Spec
- 00 Index
- 01 Conventions
- 02 Requirements
- 03 Architecture
- 04 Protocol
- 05 Engine
- 06 Platform
- 07 Replication
- 08 Epochs
- 09 Chain
- 10 Accounts, Risk, MD
- 11 Build
- 12 Commitment
- 13 Availability
- 14 Envelope
Engine crates
Other crates
- vyrn-nic
- vyrn-log
- vyrn-data
- vyrn-consensus
- vyrn-replica
- vyrn-epoch
- vyrn-chain
- vyrn-md
- vyrn-sim
- vyrn-bench
Binaries
- vyrn-seq (stub)
- vyrn-validator (stub)
- vyrn-admin
Outside Rust
Reflects main at a9f0d61.