forked from TrueCloudLab/frostfs-api
[#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:
parent
82f2b4cbc1
commit
3a2e01741a
1 changed files with 9 additions and 0 deletions
|
@ -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"];
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue