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 25f9b7c..7f1aa98 100644
--- a/src/transport/mod.rs
+++ b/src/transport/mod.rs
@@ -206,6 +206,10 @@ 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,
}
/// Cheap to clone: large parts are shared (`bytes::Bytes`).