2020-01-30 14:41:24 +03:00
|
|
|
syntax = "proto3";
|
|
|
|
package bootstrap;
|
2020-03-31 09:58:22 +03:00
|
|
|
option go_package = "github.com/nspcc-dev/neofs-api-go/bootstrap";
|
2020-02-05 15:14:39 +03:00
|
|
|
option csharp_namespace = "NeoFS.API.Bootstrap";
|
2020-01-30 14:41:24 +03:00
|
|
|
|
|
|
|
message NodeInfo {
|
|
|
|
// Address is a node [multi-address](https://github.com/multiformats/multiaddr)
|
2020-08-05 22:37:42 +03:00
|
|
|
string Address = 1;
|
2020-01-30 14:41:24 +03:00
|
|
|
// PubKey is a compressed public key representation in bytes
|
2020-08-05 22:37:42 +03:00
|
|
|
bytes PubKey = 2;
|
2020-01-30 14:41:24 +03:00
|
|
|
// Options is set of node optional information, such as storage capacity, node location, price and etc
|
2020-08-05 22:37:42 +03:00
|
|
|
repeated string Options = 3;
|
2020-08-05 22:29:11 +03:00
|
|
|
|
|
|
|
enum State {
|
|
|
|
Unknown = 0;
|
|
|
|
Online = 1;
|
|
|
|
Offline = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
State state = 4;
|
2020-01-30 14:41:24 +03:00
|
|
|
}
|