diff options
Diffstat (limited to 'src/transport')
| -rw-r--r-- | src/transport/mod.rs | 5 | ||||
| -rw-r--r-- | src/transport/wire.rs | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/transport/mod.rs b/src/transport/mod.rs index cbb6734..fcdf56e 100644 --- a/src/transport/mod.rs +++ b/src/transport/mod.rs @@ -734,8 +734,9 @@ pub(crate) struct SyncEnvelope { /// to come (`swarm::hop`). pub(crate) sent: crate::clock::UnixMillis, /// Signatures of changes (`document::signatures`): of the changes the message - /// carries, or each actor's latest for a delta or past `signatures::MAX_PER_MESSAGE` - /// (`Signatures::for_changes`, `latest_each`), as `signatures::pack` packs them. + /// carries, each writer's latest among them past a few hundred; of a delta, each + /// writer's latest with changes in it (`Signatures::for_changes`, `for_delta`), + /// `signatures::MAX_PER_MESSAGE` at most, as `signatures::pack` packs them. pub(crate) signatures: serde_bytes::ByteBuf, } diff --git a/src/transport/wire.rs b/src/transport/wire.rs index 6784f8e..7fe8983 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 = 47; +pub(crate) const VERSION: u8 = 48; /// What the second byte of a payload says. fn tag(kind: MessageKind) -> u8 { |
