Add consensus height to gossipv1

This commit is contained in:
Leo 2020-08-21 10:36:08 +02:00
parent 9bb44eb0f5
commit eca9f6214a
1 changed files with 8 additions and 1 deletions

View File

@ -18,7 +18,14 @@ message Heartbeat {
// A monotonic counter that resets to zero on startup.
int64 counter = 2;
// UNIX wall time.
int64 timestamp = 3;
int64 timestamp = 3; // TODO: use this
// Consensus heights on connected networks
message Network {// TODO: use this
uint32 id = 1;
int64 height = 2;
}
repeated Network networks = 4;
// TODO: include statement of gk public key?
// TODO: software version/release