aboutsummaryrefslogtreecommitdiffstats
path: root/src/document/mod.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-29 06:54:42 +0000
committertv <tv@krebsco.de>2026-11-29 06:54:42 +0000
commitd7e3a6e4d2ce26dc4abb1be2e3417eb5415257a3 (patch)
tree3ab3e937b000bc334ce328a31ced37099ade19e4 /src/document/mod.rs
parent81b528be7101635cac2270cc758ce9eea60baa76 (diff)
document: catching up by ranges of names and their fingerprints
Two nodes that each hold a set of names find what the other holds and they don't (document::ranges): a range's fingerprint, the same and it is done, else its parts' fingerprints or its names where few. Names added up modulo 2^256 with their number, hashed; 16 parts a step; a message answered by reading it once, with nothing kept between messages; no more names in a message than asked. Used by nothing yet: the set of events catches up so, and merged state and the document ordered by clocks (docs/document.md).
Diffstat (limited to 'src/document/mod.rs')
-rw-r--r--src/document/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/document/mod.rs b/src/document/mod.rs
index e219ce4..3c49871 100644
--- a/src/document/mod.rs
+++ b/src/document/mod.rs
@@ -103,6 +103,7 @@ pub(crate) mod lock;
pub(crate) mod meta;
pub(crate) mod own;
pub(crate) mod passing;
+pub(crate) mod ranges;
pub(crate) mod replica;
pub(crate) mod screen;
pub(crate) mod signatures;