aboutsummaryrefslogtreecommitdiffstats
path: root/src/swarm/roots.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-16 19:33:58 +0000
committertv <tv@krebsco.de>2026-11-16 21:24:48 +0100
commit969767fa5270f90fb3b289177d83d6baab1cbdc2 (patch)
treefe15d0496b2fa213b87685e4dcc3c58abf23a414 /src/swarm/roots.rs
parent7f31a5bca06dccdd4edaed6699bc6e6f479a2b27 (diff)
document: a store swarm's genesis change, built byte for byte from its root
A swarm holding a store starts from its genesis change, which every node builds from the store's root alike, so that one root makes one swarm (`docs/store.md`, What the document holds). `document::events` builds it: it writes the policy naming the fold, the swarm's ID (the root's) and the root at its ID, as bytes, each making the maps on its way, under the writer made of the root ID's first 16 bytes, at time 0, without a message. `is_genesis` tells such a change by building it again from the root it holds; `started` is a document holding it, written to under a writer of its own; `ids` and `bytes` read the events a document holds at `_continuum/events`. All of it behind the `federation` feature.
Diffstat (limited to 'src/swarm/roots.rs')
0 files changed, 0 insertions, 0 deletions