diff options
| author | tv <tv@krebsco.de> | 2026-11-05 03:49:13 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-05 03:49:13 +0100 |
| commit | a9fb4e6890bfaef1e25cdceb4eea9c997e3c7cdf (patch) | |
| tree | 8402deb8c70a033b1a323a10ab88c0bed3a339a8 /src/transport | |
| parent | 11d098477cfc76da0bc4385635e4c4b7124a9259 (diff) | |
no swarm ID in sync
Diffstat (limited to 'src/transport')
| -rw-r--r-- | src/transport/mod.rs | 1 | ||||
| -rw-r--r-- | src/transport/wire.rs | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/transport/mod.rs b/src/transport/mod.rs index 04e0506..3fd4490 100644 --- a/src/transport/mod.rs +++ b/src/transport/mod.rs @@ -656,7 +656,6 @@ impl std::fmt::Debug for HelloReply { #[derive(Debug, Clone, Serialize, Deserialize)] pub(crate) struct SyncEnvelope { - pub(crate) swarm_id: String, /// Epoch of the document the message was generated from. #[serde(with = "crate::transport::wire::codec::epoch")] pub(crate) epoch: Epoch, diff --git a/src/transport/wire.rs b/src/transport/wire.rs index 475c7f2..3f7736d 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 = 28; +pub(crate) const VERSION: u8 = 29; /// What the second byte of a payload says. fn tag(kind: MessageKind) -> u8 { @@ -401,7 +401,6 @@ pub(crate) fn samples() -> Vec<ParsedMessage> { sender_run_id: [6; 16], }), ParsedMessage::Sync(SyncEnvelope { - swarm_id: "swarm".into(), epoch, epoch_seq: 1, body: SyncBody::Delta(DeltaSpec { |
