frostfs-api/reputation/types.proto
Leonard Lyubich b334bada34 [#143] Add proto definitions of Reputation service
Define `Trust` message structure. Define `ReputationService` service. Add
`SendLocalTrust` RPC to `ReputationService`. Define structures of request
and response messages.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-05-07 11:52:40 +03:00

18 lines
494 B
Protocol Buffer

syntax = "proto3";
package neo.fs.v2.reputation;
option go_package = "github.com/nspcc-dev/neofs-api-go/v2/reputation/grpc;reputation";
option csharp_namespace = "Neo.FileStorage.API.Reputation";
// Trust value to NeoFS network peer.
message Trust {
// Identifier of the trusted peer.
//
// For storage nodes, it is the node's public key
// fixed in the network map.
bytes peer = 1 [json_name = "peer"];
// Trust value.
double value = 2 [json_name = "value"];
}