aboutsummaryrefslogtreecommitdiffstats
path: root/src/transport/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/mod.rs')
-rw-r--r--src/transport/mod.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/transport/mod.rs b/src/transport/mod.rs
index 7f1aa98..22782ef 100644
--- a/src/transport/mod.rs
+++ b/src/transport/mod.rs
@@ -469,6 +469,10 @@ 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>,