diff options
| author | tv <tv@krebsco.de> | 2026-11-05 04:50:17 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-05 04:50:17 +0100 |
| commit | 784c6e7c9088dde2f23cc1d02381a0c5fe8b010b (patch) | |
| tree | f4a0928bf6e5279f6146228e97dd51e5db250cce /src/transport | |
| parent | c7226385f3765b2a72b7b4d95129fb20fec58d5c (diff) | |
pushed heads as tips
Diffstat (limited to 'src/transport')
| -rw-r--r-- | src/transport/mod.rs | 3 | ||||
| -rw-r--r-- | src/transport/wire.rs | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/transport/mod.rs b/src/transport/mod.rs index 7e5d41b..2595257 100644 --- a/src/transport/mod.rs +++ b/src/transport/mod.rs @@ -746,7 +746,8 @@ pub(crate) enum SyncBody { /// Changes passed on along a writer's tree as they are, with the sender's heads, /// instead of an Automerge sync message (`AppState::push_changes`): where the sender /// takes the message as delivered, it has everything the receiver has, and needs - /// none of the rest of one (`SyncSession::push`). + /// none of the rest of one (`SyncSession::push`). No heads stand for the tips of + /// the changes, as the sender's heads mostly are. Changes { #[serde(with = "crate::transport::wire::codec::change_hashes")] heads: Vec<ChangeHash>, diff --git a/src/transport/wire.rs b/src/transport/wire.rs index 70ac3ce..580712e 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 = 33; +pub(crate) const VERSION: u8 = 34; /// What the second byte of a payload says. fn tag(kind: MessageKind) -> u8 { |
