2021-01-13 12:47:54 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
|
2021-01-13 13:46:39 +00:00
|
|
|
package control;
|
2021-01-13 12:47:54 +00:00
|
|
|
|
2021-01-13 13:46:39 +00:00
|
|
|
option go_package = "github.com/nspcc-dev/neofs-node/pkg/services/control";
|
2021-01-13 12:47:54 +00:00
|
|
|
|
|
|
|
// Signature of some message.
|
|
|
|
message Signature {
|
|
|
|
// Public key used for signing.
|
|
|
|
bytes key = 1 [json_name = "key"];
|
|
|
|
|
|
|
|
// Binary signature.
|
|
|
|
bytes sign = 2 [json_name = "signature"];
|
|
|
|
}
|
|
|
|
|
|
|
|
// Health status of the storage node.
|
|
|
|
enum HealthStatus {
|
|
|
|
// Undefined status, default value.
|
|
|
|
STATUS_UNDEFINED = 0;
|
|
|
|
|
|
|
|
// Node is online.
|
|
|
|
ONLINE = 1;
|
|
|
|
|
|
|
|
// Node is offline.
|
|
|
|
OFFLINE = 2;
|
|
|
|
}
|