aboutsummaryrefslogtreecommitdiffstats
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-24 19:07:35 +0000
committertv <tv@krebsco.de>2026-11-24 19:07:35 +0000
commit9c491018933833916d5d72e9185671638cb7e99b (patch)
treef094784f23973453281512b42fa449ac1c7326a9 /CHANGELOG.md
parentfb54044c688e0252b4af54a057151b9c4d4ccf98 (diff)
federation: what a node held when it started, it held before any proposal
A node keeps when it took each event in memory, by its own clock: after a start, everything its document held was stamped at once, a checkpoint's proposal with the writes it leaves out. The voters' rule asks what was held for a while before the proposal, which was nothing then, and once --store-back-after had passed the node backed it, whatever its heads left out. A followed key left such a proposal pending and gathered its followers' votes as they restarted, as all do to roll out a revision. Now what the store holds as the node first reads it counts as held before any proposal (Inner::from_start, Seen::from_start): the node backs no checkpoint leaving any of it out. One proposed just before a restart at heads that left out the writes then under way isn't backed by that node either; the next one is. a_node_votes_above_the_heads_of_the_checkpoint_it_votes_on read write, proposal and vote into a fresh node at once, which is this case: its node runs before they come now, and a second one, started on all of it, casts nothing.
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 83eb3fa..df6c802 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,13 @@ it from the release before ([`docs/operations.md`](docs/operations.md),
## Unreleased
+* A node voting by itself takes what it held when it started as held for a while before
+ any proposal: its clock began at its start, so after a restart it backed a checkpoint
+ already proposed whatever its heads left out, once `--store-back-after` had passed
+ ([`docs/federation.md`](docs/federation.md),
+ [Votes a node casts by itself](docs/federation.md#votes-a-node-casts-by-itself);
+ [`src/federation/held.rs`](src/federation/held.rs)).
+
* A node backs no checkpoint at heads no version may name (one in another's history,
say), and tells clients so (`none` in `GET /events/counts`): votes on such a proposal
are taken, no version event on them is, and its backers stayed bound for good