sleep-protocol 0.1.1

SLEEP Network Protocol protobuf definitions.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
message Data {
  required uint64 index = 1;
  optional bytes value = 2;
  repeated Node nodes = 3;
  optional bytes signature = 4;

  message Node {
    required uint64 index = 1;
    required bytes hash = 2;
    required uint64 size = 3;
  }
}