aboutsummaryrefslogtreecommitdiffstats
path: root/src/state/peer.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-04 20:10:08 +0100
committertv <tv@krebsco.de>2026-11-04 20:10:08 +0100
commit6487281ad8e33138173cdb934bc6caf9333a3721 (patch)
tree7e950fa3e020a26390708d932225d08089a28375 /src/state/peer.rs
parentc3faf6ecde8157154a01daa2ddc0ac02e6c761f1 (diff)
slow round back off
Diffstat (limited to 'src/state/peer.rs')
-rw-r--r--src/state/peer.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/state/peer.rs b/src/state/peer.rs
index 32b35fc..8f79886 100644
--- a/src/state/peer.rs
+++ b/src/state/peer.rs
@@ -153,6 +153,8 @@ pub(crate) struct PeerState {
/// with its epoch: once they are ours, it has every change we would announce to it
/// (`swarm::relay`).
pub(crate) last_heads: Option<(transport::Epoch, transport::HeadsSummary)>,
+ /// When we last told it our heads in a slow round (`swarm::relay::SlowRounds`).
+ pub(crate) slow_announced_at: Option<Instant>,
/// Whom it said it reaches (`swarm::reach`), by pair key, and when.
pub(crate) reaches: Option<(Instant, Vec<u64>)>,
/// Whose change the next sync message to it passes on along the writer's tree
@@ -286,6 +288,7 @@ impl PeerState {
syncs_with_us: None,
reported_heads: None,
last_heads: None,
+ slow_announced_at: None,
reaches: None,
tree_writer: None,
left: false,