aboutsummaryrefslogtreecommitdiffstats
path: root/src/document/store.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-16 23:32:29 +0000
committertv <tv@krebsco.de>2026-11-17 01:02:32 +0100
commit10f44bab6be521d7cebf23901b0502dd55246f12 (patch)
tree11d2136b6fadc2458eb90b20dc0d2c1588b2175a /src/document/store.rs
parent9c4ae741ae4303661c05e11b42bf5687bd277c05 (diff)
federation: a node writes a version as soon as it holds it passed
Once a proposal passed on the current version, as the node's store reads, the node writes it by a version event (`State::version_event`): on the `true` votes of the first parties by name that pass it, each party's of the lowest ID, so that nodes holding those votes write the same bytes, one event. It offers the event to its store first and puts it only where it is taken: of two passing at once, it writes the one it takes, and refuses the other as its own (`Holding::passed`, run by the store's worker).
Diffstat (limited to 'src/document/store.rs')
0 files changed, 0 insertions, 0 deletions