From 11d098477cfc76da0bc4385635e4c4b7124a9259 Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 5 Nov 2026 03:40:09 +0100 Subject: announce only to those behind --- src/state/peer.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/state') diff --git a/src/state/peer.rs b/src/state/peer.rs index a84e069..231f320 100644 --- a/src/state/peer.rs +++ b/src/state/peer.rs @@ -150,8 +150,8 @@ pub(crate) struct PeerState { /// How many heads its most recent keepalive listed (None if it sent a digest). pub(crate) reported_heads: Option, /// The heads its most recent STATUS or STATUS_REPLY carried (an announcement's too), - /// with its epoch: once they are ours, it has every change we would announce to it - /// (`swarm::relay`). + /// or its latest sync message, with its epoch: what it said it has. Once those cover + /// ours, it has every change we would announce to it (`swarm::relay`). pub(crate) last_heads: Option<(transport::Epoch, transport::HeadsSummary)>, /// How long its sync messages took to come (`swarm::hop`). pub(crate) hop_delays: crate::swarm::hop::HopDelays, -- cgit v1.3.1