From 8366f7c5de474753dbfbf88431917e79c15e5389 Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 3 Nov 2026 05:21:25 +0100 Subject: replace eager links by trees --- src/transport/mod.rs | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/transport/mod.rs') diff --git a/src/transport/mod.rs b/src/transport/mod.rs index 899f4b8..fb198ec 100644 --- a/src/transport/mod.rs +++ b/src/transport/mod.rs @@ -206,10 +206,6 @@ pub(crate) struct Status { /// STATUS answered only if the recipient's heads differ. Most announcements reach a /// neighbour that has the changes already, which has nothing to tell. pub(crate) announcing: bool, - /// The sender wants the recipient's changes as soon as the recipient applies them, - /// sent as sync messages (an eager link, `swarm::relay`), not only announced. Every - /// STATUS says so, or not, again: one lost changes nothing for long. - pub(crate) eager: bool, /// Whom the sender reaches (`swarm::reach`): the pair keys (`topology::pair_key`) /// of the members it has an active session with, sorted. In keepalive STATUSes and /// their replies, and when it changed; not in announcements of heads (None). @@ -473,10 +469,6 @@ pub(crate) struct Link { pub(crate) rtt_us: Option, /// Silent for long (`peers.md`, dormancy). pub(crate) dormant: bool, - /// Eager links (`swarm::relay`): the member sends the peer its changes as it applies - /// them (the peer asked), and the peer the member (the member asked). - pub(crate) eager_to: bool, - pub(crate) eager_from: bool, /// The peer's other transports (`swarm::links::MAX_OTHERS` at most): where else /// it proved itself, those paths up. pub(crate) others: Vec, -- cgit v1.3.1