aboutsummaryrefslogtreecommitdiffstats
path: root/src/simtest
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-16 20:44:13 +0000
committertv <tv@krebsco.de>2026-11-16 22:03:31 +0100
commitc534b25dbd94dc41731f98e4c4b2a170fe02c347 (patch)
tree418e159d227599ff985e601dc3ab4f8da8b16af0 /src/simtest
parent5cabcbfa81d6293c96d28c603621be331f1f9b0f (diff)
handshake: the party its sender is of
In a swarm holding a store, a node's handshakes name the party it is of (`docs/store.md`, Members), so that a peer tells whether it is a member before its entry reaches it: HELLO and HELLO_REPLY carry `party`, as `--store-party` says, None elsewhere and without the `federation` feature. Wire format version 52.
Diffstat (limited to 'src/simtest')
-rw-r--r--src/simtest/timing.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/simtest/timing.rs b/src/simtest/timing.rs
index 5f93acc..ba85bb9 100644
--- a/src/simtest/timing.rs
+++ b/src/simtest/timing.rs
@@ -283,6 +283,7 @@ async fn resent_hello_keeps_the_session() {
run_id: run,
handshake,
root: None,
+ party: None,
})
};
for repeated in [handshake, handshake.saturating_sub(1)] {
@@ -327,6 +328,7 @@ async fn late_epoch_does_not_flip_a_peers_epoch() {
run_id: run,
handshake: 1,
root: None,
+ party: None,
})
};
let status = |epoch: Epoch, epoch_seq: u32| {