diff options
Diffstat (limited to 'src/transport/mod.rs')
| -rw-r--r-- | src/transport/mod.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/transport/mod.rs b/src/transport/mod.rs index 22782ef..9ae8ff2 100644 --- a/src/transport/mod.rs +++ b/src/transport/mod.rs @@ -210,6 +210,10 @@ pub(crate) struct Status { /// 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). + pub(crate) reaches: Option<Vec<u64>>, } /// Cheap to clone: large parts are shared (`bytes::Bytes`). |
