aboutsummaryrefslogtreecommitdiffstats
path: root/src/transport/wire.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-05 02:14:44 +0100
committertv <tv@krebsco.de>2026-11-05 02:14:44 +0100
commitd510e3a7b223b75b5187470432f909665b6cd967 (patch)
treedce84899b17f8c962228843efdbfe95ccaed6a5c /src/transport/wire.rs
parent3531e97f1b1d2894538e43b453dc0b5a925c3910 (diff)
dashboard: swarm-wide epoch shine
Diffstat (limited to 'src/transport/wire.rs')
-rw-r--r--src/transport/wire.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/transport/wire.rs b/src/transport/wire.rs
index b3a8ee9..475c7f2 100644
--- a/src/transport/wire.rs
+++ b/src/transport/wire.rs
@@ -14,7 +14,7 @@ use super::{EncodedMessage, MessageKind, ParsedMessage};
/// The wire format's version, the first byte of every payload. Bump it with every change
/// to a message type or a codec (`golden_bytes` fails then).
-pub(crate) const VERSION: u8 = 27;
+pub(crate) const VERSION: u8 = 28;
/// What the second byte of a payload says.
fn tag(kind: MessageKind) -> u8 {
@@ -462,6 +462,7 @@ pub(crate) fn samples() -> Vec<ParsedMessage> {
relayed: vec![crate::transport::RelayedLinks {
member: "q".into(),
age_ms: 1200,
+ epoch,
links: Vec::new(),
}],
}),