From d8173a55298f067a8420c2b6d42ae816643d0fbe Mon Sep 17 00:00:00 2001 From: huyingcong Date: Wed, 27 Nov 2019 11:41:57 +0800 Subject: [PATCH] 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 --- bdledger/api/query_service.proto | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bdledger/api/query_service.proto b/bdledger/api/query_service.proto index 3474d41..0a5736f 100644 --- a/bdledger/api/query_service.proto +++ b/bdledger/api/query_service.proto @@ -35,7 +35,7 @@ message BlockFilter { message BlocksRequest { string ledger = 1; repeated BlockFilter filters = 2; - required int64 start_timestamp = 3; + int64 start_timestamp = 3; // required int64 end_timestamp = 4; } message GetBlocksResponse { @@ -50,7 +50,7 @@ message CountBlocksResponse { message TransactionsRequest { string ledger = 1; repeated TransactionFilter filters = 2; - required int64 start_timestamp = 3; + int64 start_timestamp = 3; // required int64 end_timestamp = 4; } message GetTransactionsResponse {