[#228] Add netmap snapshot request

Clients need an easy way of getting network map to get connection
endpoints form Node's attributes.

Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
This commit is contained in:
Stanislav Bogatyrev 2022-07-27 16:27:55 +03:00 committed by Stanislav Bogatyrev
parent 4de2570e1a
commit c03a53813a
2 changed files with 59 additions and 0 deletions

View file

@ -238,6 +238,15 @@ message NodeInfo {
State state = 4 [json_name = "state"];
}
// Network map structure
message Netmap {
// Network map revision number.
uint64 epoch = 1 [json_name = "epoch"];
// Nodes presented in network.
repeated NodeInfo nodes = 2 [json_name = "nodes"];
}
// NeoFS network configuration
message NetworkConfig {
// Single configuration parameter