diff options
Diffstat (limited to 'docs/store.md')
| -rw-r--r-- | docs/store.md | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/docs/store.md b/docs/store.md index d554a7a..12276b4 100644 --- a/docs/store.md +++ b/docs/store.md @@ -1,15 +1,16 @@ # The store: a design A design, built stage by stage ([`federation.md`](federation.md), Stages): so far, the -store held in memory, with a fold made for its tests (`federation::store`). The store -holds events. Each event is named by the hash of its bytes and names the events it -builds on; it is judged where it was written, at that history, so every node judges it -alike; and the events a node holds read as one state. The store starts from a -checkpoint, the state at some heads written down, and holds what came after it; moving -to a later checkpoint, a node forgets what matters no more, so that it holds what is -relevant and nothing else. What the events are, how one is judged, what they read as and -when the store moves to a checkpoint is a **fold**'s, and the store is generic over it. -The federation ([`federation.md`](federation.md)) is its first fold. +store held in memory (`federation::store`), with a fold made for its tests and the +federation's (`federation::fold`). The store holds events. Each event is named by the +hash of its bytes and names the events it builds on; it is judged where it was written, +at that history, so every node judges it alike; and the events a node holds read as one +state. The store starts from a checkpoint, the state at some heads written down, and +holds what came after it; moving to a later checkpoint, a node forgets what matters no +more, so that it holds what is relevant and nothing else. What the events are, how one +is judged, what they read as and when the store moves to a checkpoint is a **fold**'s, +and the store is generic over it. The federation ([`federation.md`](federation.md)) is +its first fold. The store asks nothing of what carries its events. It is built first inside a swarm's Automerge document (On Automerge): continuum's sync, transports, saving and remakes |
