Two planes
Nodes (the data plane) store shards, route requests over QUIC and answer storage challenges. They have no wallet, no blockchain connection and no balances. An upload is accepted when it carries a valid voucher, which a node checks offline against a public key.
The control plane sells vouchers, holds operator stake, runs audits and computes payouts. It is off the data path, and it never learns what was stored: vouchers are blind-signed (RFC 9474), so the control plane can’t link a voucher it sold to the upload that spent it.
From file to shards
- The uploader’s client encrypts the file (ChaCha20-Poly1305) and cuts it into slabs.
- Each slab is erasure-coded with Reed-Solomon into data and parity shards. Any k of them rebuild it.
- The shards go to different nodes, the ones whose IDs are closest to the slab’s address, with a cap per host so a machine failing can’t take a slab with it.
- The link to the file is
slab://<root>#<key>. The key sits after the#and never goes over the network.
| Profile | Used for | Slab | Shards | Survives losing | Overhead |
|---|---|---|---|---|---|
| RS 10+6 | everything today; small files and listings next | 256 KiB | 16 | any 6 | 1.6× |
| RS 32+16 | files above about 1 MiB (decided, in development) | 1 MiB | 48 | any 16 | 1.5× |
Keeping three full copies would cost 3×. Why the switch: when 10 % of nodes fail at once, a 1 GiB file on 10+6 is lost with 87 % probability in our model, on 32+16 with 0.2 %.
Keeping data alive
- Repair. Every 10 minutes the nodes holding a slab check each other, and ask for proof that peers really hold what they claim. When too few shards are healthy (under 14 of 16 for 10+6, under 40 of 48 for 32+16), the node nearest the slab’s address rebuilds the missing ones and places them on other nodes.
- Audits. Once per epoch (a day on the testnet), nodes commit to what they hold, then answer 16 random challenges with Merkle proofs. A fake answer is detected and slashed.
- Reads ask the 24 nodes around a slab’s address for any shard, and the first k verified answers win, so a slow node doesn’t slow the read. Next: several slabs in flight at once, which cuts a large read several-fold.
What nobody learns
| Who | Sees | Doesn’t see |
|---|---|---|
| A node | encrypted shards, the voucher that paid for them | content, file names, who paid |
| The control plane | accounts and how many vouchers each bought | what they were spent on |
| The audit service | which slabs are paid for (ciphertext addresses) | who bought them |