aboutsummaryrefslogtreecommitdiffstats
path: root/src/swarm/peer/mod.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-19 14:09:23 +0000
committertv <tv@krebsco.de>2026-11-19 15:18:44 +0100
commit8347900a553a3c4c9f9d3fc4a539fd31b41b07d3 (patch)
tree5674d614bd4a79cdc624eaf09d607efff878b227 /src/swarm/peer/mod.rs
parentf85298c40c2528ee801c14a10a7db8920b50fdf8 (diff)
vote: a checkpoint after every version that changes more, unless told otherwise
After a close vote, one key voting twice passes a rival version at a history from before the version that followed, the votes cast before counting with its own, any time until a checkpoint above that version: nodes that took the version refuse it, but one lagging behind, or joining from the root, may take it. A node voting by itself proposed a checkpoint after a version only where its operator set `--store-propose-versions`; now it does unless told otherwise (1 unless set; 0 never so). Versions that change more than moving to a checkpoint are rare, so the cost is a checkpoint each. A default set, store-propose-versions no longer asks for store-vote-key, as store-held-for and store-back-after don't.
Diffstat (limited to 'src/swarm/peer/mod.rs')
0 files changed, 0 insertions, 0 deletions