From d60f59052cef6760329e3500306c7f498745216e Mon Sep 17 00:00:00 2001 From: tv Date: Fri, 30 Oct 2026 21:47:31 +0100 Subject: allow links subscriptions --- src/transport/mod.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/transport/mod.rs') diff --git a/src/transport/mod.rs b/src/transport/mod.rs index 7fbbd73..903dd07 100644 --- a/src/transport/mod.rs +++ b/src/transport/mod.rs @@ -403,6 +403,10 @@ pub(crate) struct LinksRequest { pub(crate) epoch_seq: u32, /// Repeated in the reply: which request it answers. pub(crate) nonce: u64, + /// For this long (seconds), a LINKS_REPLY again whenever the links change (a + /// subscription; the next LINKS renews it). 0: this reply only, and a subscription + /// ends. + pub(crate) subscribe_secs: u32, } /// LINKS_REPLY: how the sender is linked to its neighbours, as it measures them. -- cgit v1.3.1