mirror of
https://github.com/rclone/rclone.git
synced 2024-12-12 18:21:57 +01:00
e7bd392a69
This fixes an important bug with listing that affects users with more than 500 objects in a listing operation.
40 lines
954 B
Protocol Buffer
40 lines
954 B
Protocol Buffer
// Copyright (C) 2019 Storj Labs, Inc.
|
|
// See LICENSE for copying information.
|
|
|
|
syntax = "proto3";
|
|
option go_package = "storj.io/common/pb";
|
|
|
|
package vouchers;
|
|
|
|
import "gogo.proto";
|
|
import "google/protobuf/timestamp.proto";
|
|
|
|
// Voucher is a signed message verifying that a node has been vetted by a particular satellite.
|
|
message Voucher {
|
|
bytes satellite_id = 1 [(gogoproto.customtype) = "NodeID", (gogoproto.nullable) = false];
|
|
bytes storage_node_id = 2 [(gogoproto.customtype) = "NodeID", (gogoproto.nullable) = false];
|
|
|
|
google.protobuf.Timestamp expiration = 3 [(gogoproto.stdtime) = true, (gogoproto.nullable) = false];
|
|
|
|
bytes satellite_signature = 4;
|
|
}
|
|
|
|
message VoucherRequest {}
|
|
|
|
message VoucherResponse {
|
|
enum Status {
|
|
INVALID = 0;
|
|
ACCEPTED = 1;
|
|
REJECTED = 2;
|
|
}
|
|
|
|
Voucher voucher = 1;
|
|
|
|
Status status = 2;
|
|
}
|
|
|
|
|
|
service Vouchers {
|
|
rpc Request(VoucherRequest) returns (VoucherResponse) {}
|
|
}
|