25 lines
483 B
Protocol Buffer
25 lines
483 B
Protocol Buffer
// Copyright (C) 2019 Storj Labs, Inc.
|
|
// See LICENSE for copying information.
|
|
|
|
syntax = "proto3";
|
|
option go_package = "pb";
|
|
|
|
package nodestats;
|
|
|
|
import "gogo.proto";
|
|
|
|
service NodeStats {
|
|
rpc UptimeCheck(UptimeCheckRequest) returns (UptimeCheckResponse) {}
|
|
}
|
|
|
|
message UptimeCheckRequest { }
|
|
|
|
message UptimeCheckResponse {
|
|
int64 total_count = 1;
|
|
int64 success_count = 2;
|
|
double reputation_alpha = 3;
|
|
double reputation_beta = 4;
|
|
double reputation_score = 5;
|
|
}
|
|
|