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 0f009cb..04e0506 100644 --- a/src/transport/mod.rs +++ b/src/transport/mod.rs @@ -453,6 +453,10 @@ pub(crate) struct RelayedLinks { pub(crate) member: String, /// How long ago the member reported them (milliseconds). pub(crate) age_ms: u32, + /// The member's epoch, as its LINKS_REPLY said (`LinksReply::epoch`): a dashboard + /// shows who entered a new one, swarm-wide. + #[serde(with = "crate::transport::wire::codec::epoch")] + pub(crate) epoch: Epoch, pub(crate) links: Vec<Link>, } |
