Move required field up in BlocksRequest and TransactionsRequest
This commit is contained in:
commit
d80d6d2544
@ -43,9 +43,9 @@ message GetBlockByHashResponse {
|
|||||||
|
|
||||||
message BlocksRequest {
|
message BlocksRequest {
|
||||||
string ledger = 1;
|
string ledger = 1;
|
||||||
repeated BlockFilter filters = 2;
|
int64 start_timestamp = 2; // required
|
||||||
int64 start_timestamp = 3; // required
|
int64 end_timestamp = 3;
|
||||||
int64 end_timestamp = 4;
|
repeated BlockFilter filters = 4;
|
||||||
}
|
}
|
||||||
message GetBlocksResponse {
|
message GetBlocksResponse {
|
||||||
repeated Block blocks = 1;
|
repeated Block blocks = 1;
|
||||||
@ -75,9 +75,9 @@ message GetTransactionByBlockHashAndIndexResponse {
|
|||||||
|
|
||||||
message TransactionsRequest {
|
message TransactionsRequest {
|
||||||
string ledger = 1;
|
string ledger = 1;
|
||||||
repeated TransactionFilter filters = 2;
|
int64 start_timestamp = 2; // required
|
||||||
int64 start_timestamp = 3; // required
|
int64 end_timestamp = 3;
|
||||||
int64 end_timestamp = 4;
|
repeated TransactionFilter filters = 4;
|
||||||
}
|
}
|
||||||
message GetTransactionsResponse {
|
message GetTransactionsResponse {
|
||||||
repeated Transaction transactions = 1;
|
repeated Transaction transactions = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user