Renumber protobuf fields, bump protocol version
This commit is contained in:
parent
03f0365d4d
commit
1e60454643
2 changed files with 8 additions and 8 deletions
|
@ -1324,17 +1324,17 @@ message Operation {
|
||||||
|
|
||||||
message Edit {
|
message Edit {
|
||||||
uint32 replica_id = 1;
|
uint32 replica_id = 1;
|
||||||
uint32 lamport_timestamp = 3;
|
uint32 lamport_timestamp = 2;
|
||||||
repeated VectorClockEntry version = 4;
|
repeated VectorClockEntry version = 3;
|
||||||
repeated Range ranges = 5;
|
repeated Range ranges = 4;
|
||||||
repeated string new_text = 6;
|
repeated string new_text = 5;
|
||||||
}
|
}
|
||||||
|
|
||||||
message Undo {
|
message Undo {
|
||||||
uint32 replica_id = 1;
|
uint32 replica_id = 1;
|
||||||
uint32 lamport_timestamp = 3;
|
uint32 lamport_timestamp = 2;
|
||||||
repeated VectorClockEntry version = 4;
|
repeated VectorClockEntry version = 3;
|
||||||
repeated UndoCount counts = 5;
|
repeated UndoCount counts = 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
message UpdateSelections {
|
message UpdateSelections {
|
||||||
|
|
|
@ -6,4 +6,4 @@ pub use conn::Connection;
|
||||||
pub use peer::*;
|
pub use peer::*;
|
||||||
mod macros;
|
mod macros;
|
||||||
|
|
||||||
pub const PROTOCOL_VERSION: u32 = 61;
|
pub const PROTOCOL_VERSION: u32 = 62;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue