diff options
| author | tv <tv@krebsco.de> | 2026-11-03 05:21:25 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-03 05:21:25 +0100 |
| commit | 8366f7c5de474753dbfbf88431917e79c15e5389 (patch) | |
| tree | 8c3ed8cca74760ff98b58264843765a3d8e65d3b /src/transport/mod.rs | |
| parent | 96d7744dd29a3c783b43a7a6697af7d5d5719a10 (diff) | |
replace eager links by trees
Diffstat (limited to 'src/transport/mod.rs')
| -rw-r--r-- | src/transport/mod.rs | 8 |
1 files changed, 0 insertions, 8 deletions
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<u32>, /// 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<OtherPath>, |
