diff options
| author | tv <tv@krebsco.de> | 2026-11-16 16:15:04 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-16 18:00:40 +0100 |
| commit | 7bb467a013a9146620b633e3c3cdd21e3a48f80f (patch) | |
| tree | 0fe86ef999faaf3547803aa73e391982a8ea3af8 /src/main.rs | |
| parent | 40db32407a341f8fec2795ffb11821842e79334d (diff) | |
federation: the feature, and the store's fold
`federation`, a feature of its own, builds what `docs/federation.md` and
`docs/store.md` design, stage by stage; without it continuum builds and behaves as it
does. The aliases build with it, and `docs/development.md` says so.
Its first part is the store's: an event's ID, the SHA-256 of its bytes written as 64
lower-case hex digits and read back only so, and the `Fold` trait as `docs/store.md`
gives it. The trait reads a checkpoint's parts too, the heads it was built at and the
events it keeps, which a node taking a pinned checkpoint needs; the design names it.
Nothing uses either yet, but a test.
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index 5f2403e..6d0d82f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -18,6 +18,8 @@ mod clock; mod compress; mod config; mod document; +#[cfg(feature = "federation")] +mod federation; mod files; mod force; mod identity; |
