1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
// Copyright 2020 The Swarm Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
syntax = "proto3";
package pullsync;
option go_package = "pb";
message Syn {}
message Ack {
repeated uint64 Cursors = 1;
}
message Ruid {
uint32 Ruid = 1;
}
message Cancel {
uint32 Ruid = 1;
}
message GetRange {
int32 Bin = 1;
uint64 From = 2;
uint64 To = 3;
}
message Offer {
uint64 Topmost = 1;
bytes Hashes = 2;
}
message Want {
bytes BitVector = 1;
}
message Delivery {
bytes Address = 1;
bytes Data = 2;
bytes Stamp = 3;
}