diff options
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 { |
