aboutsummaryrefslogtreecommitdiffstats
path: root/src/swarm/peer/lanes.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-25 12:43:51 +0000
committertv <tv@krebsco.de>2026-11-25 12:43:51 +0000
commit055e09b3410040e4300238ac5d0a53fdc2726e40 (patch)
tree76bc574f812b683a20cc34833a3fd3481845c3c7 /src/swarm/peer/lanes.rs
parent2085f8fa1b7f4d5c5011479cbf1f3d6fac6545a2 (diff)
federation: a node casts no true its own store refuses
A node recorded each vote, saved the record, offered the vote to its store, and didn't look at the answer. A party freed by nays cast after a checkpoint's heads were named, with its earlier true in their history, votes on that checkpoint on its proposal alone, as a checkpoint's vote leaves the nays out: there the earlier proposal isn't dead, and every store refuses the vote. Recorded all the same, it bound the party by a vote no node held; and deciding on it each round, the node proposed no checkpoint of its own. The fold's rule for a party's second true is State::may_back now, which a node asks at the history its vote would build on (vote::builds_on), as it decides, by itself or by hand, and as it signs: a vote refused at its own history counts nowhere, so none is cast, and none recorded.
Diffstat (limited to 'src/swarm/peer/lanes.rs')
0 files changed, 0 insertions, 0 deletions