Layer 1 gave every node unforgeable identity and Layer 2 opened resilient peer-to-peer pipes. Layer 3 solves the data plane: how do peers sync only what is missing, verify every kilobyte of a stream on the fly, organize events and files into one composable graph, and keep historical shards alive without charging storage rent?
3.0 · Layer 3 Big Picture
In cloud software, one central database decides what exists and streams files from a trusted CDN. In a peer-to-peer mesh, you pull history and media from dozens of strangers—some fast, some offline for days, and a few potentially corrupt or malicious.
Layer 3 turns untrusted peers into reliable mirrors by combining five open primitives:
1 KB SHA-256 Bao verified streaming, NIP-77 Negentropy logarithmic delta sync,
the 8-layer Textile content graph, Blossom CAS blob mirrors, and
falsifiable kind 30803 reciprocal coverage backed by pluggable local engines.
The Concept
A flat file hash forces a painful trade-off: if you stream a 2 GB video from a stranger, you cannot check whether byte #500 was tampered with until all 2,000,000,000 bytes finish downloading. Bao verified streaming turns a file into a binary Merkle tree of tiny 1,024-byte chunks rolled up to a single root hash—so every slice verifies independently the instant it arrives.
FleetMesh Implementation
O(log N) sibling proof and verify slice 0 in microseconds.S4 evidence).The Concept
How do two peers holding 50,000 events discover the 12 events one side missed while offline? Asking for “everything since yesterday” misses backfilled history and breaks on clock skew, while sending all 50,000 IDs wastes megabytes. Negentropy sorts records by timestamp and ID, hashes entire spans into 16-byte range fingerprints, and recursively splits only the spans that differ.
FleetMesh Implementation
O(log N) timestamp bisection: Matching time spans skip in a single 16-byte modular-sum fingerprint check; only divergent buckets bisect down to exact missing IDs.sync/1.0: Carries the full Negentropy conversation (open, range, have, need, deliver, done, handover) over any Layer 2 transport.The Concept
Raw files and isolated chat events are too flat to express rich applications like threaded discussions, curated media playlists, software packages, and local retention policies. Textile (FM-11) gives the mesh one shared grammar—layering immutable bytes upward into signed pointers, ordered sequences, typed schemas, curated collections, full app bundles, local quotas, and clean deletions.
FleetMesh Implementation
kind 30821 Strands and ordered Spools.@fleetmesh/textile.The Concept
Normal web media URLs tie a file to one company’s domain—if that host dies or bans you, every
link breaks forever. Blossom turns ordinary HTTP servers into interchangeable
Content-Addressable Storage (CAS) mirrors where every blob lives at
/<sha256>, so clients can fetch the identical verified bytes from any mirror still online.
FleetMesh Implementation
BUD-01): Clients fetch blobs by SHA-256 hash and verify every slice via 1 KB Bao proofs.BUD-02): Uploads, lists, and deletes authorize with short-lived, BIP-340 signed kind 24242 events bound to exact hash and expiration.BUD-03 / BUD-04): Users publish preferred mirrors in kind 10063 while Anchors mirror shards server-to-server under opt-in blob_bytes ceilings.The Concept
Unlike transit (a continuous flow) or compute (a finite job), long-term storage is an open-ended promise about the future—making perpetual storage rent brittle and dispute-prone. Instead, communities that mutually care about a shard replicate it reciprocally, advertising exactly which time windows and kinds they hold so peers can sample and verify honesty over time.
FleetMesh Implementation
kind 30803): Declares retained time windows, event kinds, and blob namespaces as either falsifiable asserted or best-effort.blob_bytes = 0 and settlement = none; any future payment settles strictly on atomic verified retrieval (see storage.html).psycopg), the C++/LMDB strfry bridge, and IndexedDB in browser Leaves.