delete required field in query_service.proto, for the imcompatibilty in proto3
Summary: delete required field in query_service.proto, for the imcompatibilty in proto3 Test Plan: none Reviewers: nex Reviewed By: nex Differential Revision: https://phabricator.internetapi.cn/D26
This commit is contained in:
parent
de035bd3bc
commit
d8173a5529
@ -35,7 +35,7 @@ message BlockFilter {
|
|||||||
message BlocksRequest {
|
message BlocksRequest {
|
||||||
string ledger = 1;
|
string ledger = 1;
|
||||||
repeated BlockFilter filters = 2;
|
repeated BlockFilter filters = 2;
|
||||||
required int64 start_timestamp = 3;
|
int64 start_timestamp = 3; // required
|
||||||
int64 end_timestamp = 4;
|
int64 end_timestamp = 4;
|
||||||
}
|
}
|
||||||
message GetBlocksResponse {
|
message GetBlocksResponse {
|
||||||
@ -50,7 +50,7 @@ message CountBlocksResponse {
|
|||||||
message TransactionsRequest {
|
message TransactionsRequest {
|
||||||
string ledger = 1;
|
string ledger = 1;
|
||||||
repeated TransactionFilter filters = 2;
|
repeated TransactionFilter filters = 2;
|
||||||
required int64 start_timestamp = 3;
|
int64 start_timestamp = 3; // required
|
||||||
int64 end_timestamp = 4;
|
int64 end_timestamp = 4;
|
||||||
}
|
}
|
||||||
message GetTransactionsResponse {
|
message GetTransactionsResponse {
|
||||||
|
Loading…
Reference in New Issue
Block a user