diff options
| author | tv <tv@krebsco.de> | 2026-11-29 13:24:34 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-29 13:24:34 +0000 |
| commit | 61fb06c420d5e481badc8a9d3252b90cf9013746 (patch) | |
| tree | d90578948fc7b581594621a13dae9be0cd3ad2f8 /src/federation/store/mod.rs | |
| parent | 2d31675f5c2c3b3475be89558c55a8a6e604df49 (diff) | |
federation: passing a set of events on
What two nodes say to each other of their sets (store::passing), with
nothing kept of a peer between messages: where a node stands, its
store's checkpoint and heads and the fingerprint of all its names;
ranges (document::ranges, whose messages serialize), where fingerprints
differ; its heads, where they differ and the fingerprints don't; the
names it lacks and would have; events and entries, no more than 1 MiB a
message. What comes is offered to the store or put as an entry, and for
what the store then waits on and doesn't hold (Store::lacks) the node
asks in turn.
Sets that wrote apart come to hold the same, over seeds; what a node
refuses of its own reaches others through it.
Used by nothing yet: no node carries a set.
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 c3fa106..4527e2f 100644 --- a/src/federation/store/mod.rs +++ b/src/federation/store/mod.rs @@ -10,6 +10,7 @@ use crate::transport::Hex; pub(crate) mod entry; pub(crate) mod memory; +pub(crate) mod passing; #[cfg(test)] mod properties; pub(crate) mod set; |
