2019-01-24 20:15:10 +00:00
|
|
|
// Copyright (C) 2019 Storj Labs, Inc.
|
2018-10-31 18:47:25 +00:00
|
|
|
// See LICENSE for copying information.
|
|
|
|
|
|
|
|
syntax = "proto3";
|
|
|
|
option go_package = "pb";
|
|
|
|
|
|
|
|
package bandwidth;
|
|
|
|
|
|
|
|
import "piecestore.proto";
|
|
|
|
|
|
|
|
service Bandwidth {
|
2018-11-15 19:06:09 +00:00
|
|
|
rpc BandwidthAgreements(piecestoreroutes.RenterBandwidthAllocation) returns (AgreementsSummary) {}
|
2018-10-31 18:47:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
message AgreementsSummary {
|
2018-11-15 19:06:09 +00:00
|
|
|
enum Status {
|
|
|
|
FAIL = 0;
|
|
|
|
OK = 1;
|
2019-01-11 18:15:49 +00:00
|
|
|
REJECTED = 2;
|
2018-11-15 19:06:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
Status status = 1;
|
2018-10-31 18:47:25 +00:00
|
|
|
}
|