]> git.sesse.net Git - remoteglot-book/blobdiff - count.proto
Switch value format to protobuf. Slightly smaller, easier to deal with extensions...
[remoteglot-book] / count.proto
diff --git a/count.proto b/count.proto
new file mode 100644 (file)
index 0000000..c9321a5
--- /dev/null
@@ -0,0 +1,17 @@
+message Count {
+       // Number of games.
+       optional int32 white = 1;
+       optional int32 draw = 2;
+       optional int32 black = 3;
+
+       // Opening number (32-bit hash value).
+       optional fixed32 opening_num = 4;
+
+       // Elo statistics for this position.
+       optional int64 sum_white_elo = 5;
+       optional int64 sum_black_elo = 6;
+       optional int32 num_elo = 7;
+
+       // First timestamp this position/move was seen. 
+       optional int64 first_timestamp = 8 [default=32503680000];
+};