storj/pkg/pb/contact.proto
Jess G d3ef574b20 pkg/pb: minor changes to contact.proto (#3048)
* minor fixes to contact proto

* simply and rm nodeAddr object from client
2019-09-13 19:37:32 -05:00

36 lines
640 B
Protocol Buffer

// Copyright (C) 2019 Storj Labs, Inc.
// See LICENSE for copying information.
syntax = "proto3";
option go_package = "pb";
package contact;
import "node.proto";
service Contact {
rpc PingNode(ContactPingRequest) returns (ContactPingResponse);
}
service Node {
rpc CheckIn(CheckInRequest) returns (CheckInResponse);
}
message CheckInRequest {
string address = 1;
string version = 2;
node.NodeCapacity capacity = 3;
node.NodeOperator operator = 4;
}
message CheckInResponse {
bool ping_node_success = 1;
string ping_error_message = 2;
}
message ContactPingRequest {
}
message ContactPingResponse {
}