From 3a2e01741a1f368e1aa796cd46c45fd231c5cf1f Mon Sep 17 00:00:00 2001 From: Leonard Lyubich Date: Wed, 17 Feb 2021 19:05:06 +0300 Subject: [PATCH] [#127] netmap: Define NetworkInfo message Define `NetworkInfo` message which groups configuration and state values of NeoFS network. Signed-off-by: Leonard Lyubich --- netmap/types.proto | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/netmap/types.proto b/netmap/types.proto index 12a2c8d..f2d1818 100644 --- a/netmap/types.proto +++ b/netmap/types.proto @@ -216,3 +216,12 @@ message NodeInfo { // Carries state of the NeoFS node. State state = 4 [json_name = "state"]; } + +// Information about NeoFS network +message NetworkInfo { + // Number of the current epoch in the NeoFS network. + uint64 current_epoch = 1 [json_name = "currentEpoch"]; + + // Magic number of the sidechain of the NeoFS network. + uint64 magic_number = 2 [json_name = "magicNumber"]; +}