From eca9f6214a9e566e95d641b7776c9c3576fbd2ad Mon Sep 17 00:00:00 2001 From: Leo Date: Fri, 21 Aug 2020 10:36:08 +0200 Subject: [PATCH] Add consensus height to gossipv1 --- proto/gossip/v1/gossip.proto | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/proto/gossip/v1/gossip.proto b/proto/gossip/v1/gossip.proto index eebe3f9b3..317b5c700 100644 --- a/proto/gossip/v1/gossip.proto +++ b/proto/gossip/v1/gossip.proto @@ -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