diff options
| author | tv <tv@krebsco.de> | 2026-11-16 17:17:44 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-16 18:29:53 +0100 |
| commit | e568c7729ca498fb817ab9941f23a21bb5e905b2 (patch) | |
| tree | 7acaf89024229bd48e88939978c5348ca3eb5dc2 /src/api/store.rs | |
| parent | eb03969982b08f89a1d33e05c0911a737792a323 (diff) | |
store: where a pinned checkpoint comes from, and what a node keeps across a restart
A pin is an ID, and the document holds a checkpoint only at `_continuum/checkpoint`,
which only an epoch's first change writes: a swarm that moved once, and never remade,
held its checkpoint nowhere, and a node told to join from a pinned one had nothing to
start from. It finds it in its document: the document's checkpoint, or one the fold
moves to at the history of an event the document holds, built at those heads from what
the document holds, as the ID fixes its bytes whoever builds them. The document holds
what that takes, as no remake leaves it out.
And across a restart, a node reads its store from its document anew, from the
document's checkpoint or the one its operator pinned, by its own refusals and drops,
which it keeps in its file; it keeps nothing else of the store.
Diffstat (limited to 'src/api/store.rs')
0 files changed, 0 insertions, 0 deletions
