diff options
| author | tv <tv@krebsco.de> | 2026-11-29 13:16:06 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-29 13:16:06 +0000 |
| commit | f0c0cec4358db039b49dbf1b38bdc17117ba69cf (patch) | |
| tree | 3cff3556fb7f2dd2ec8bd52017de67ab78b9c5d3 /src/federation/store/mod.rs | |
| parent | 8dd47f8e4bc838d22ab5b888eafb1733c25e64ef (diff) | |
federation: a member's entry in a set of events
What a node says of itself (store::entry::Entry): a JSON map of no more
than 16 KiB, with its count, signed with its node key for its store. A
set holds each member's newest (Set::put_entry): the highest count, of
two of one count the lower name; none of a node the store doesn't name
a member as it reads now, and those it held go with their node. Their
names are among the set's, to catch up by; and a set says what of a
peer's names it would have (Set::wants, Store::knows), which leaves out
what its store refused, waits for or forgot, and a stranger's entry
until who is a member changes.
The store's test fold names members, by what counts at node:<node ID>.
Diffstat (limited to 'src/federation/store/mod.rs')
| -rw-r--r-- | src/federation/store/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/federation/store/mod.rs b/src/federation/store/mod.rs index b678647..c3fa106 100644 --- a/src/federation/store/mod.rs +++ b/src/federation/store/mod.rs @@ -8,6 +8,7 @@ use sha2::{Digest, Sha256}; use crate::transport::Hex; +pub(crate) mod entry; pub(crate) mod memory; #[cfg(test)] mod properties; |
