[#127] netmap: Define NetworkInfo message

Define `NetworkInfo` message which groups configuration and state values of
NeoFS network.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2021-02-17 19:05:06 +03:00 committed by Alex Vanin
parent 82f2b4cbc1
commit 3a2e01741a

View file

@ -216,3 +216,12 @@ message NodeInfo {
// Carries state of the NeoFS node. // Carries state of the NeoFS node.
State state = 4 [json_name = "state"]; 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"];
}