Skip to content

Commit

Permalink
Clarify the "direction" field of block requests (#12438)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaka authored Oct 12, 2022
1 parent 453b9ef commit 8920b1c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions substrate/client/network/sync/src/schema/api.v1.proto
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ message BlockRequest {
bytes number = 3;
}
// Sequence direction.
// If missing, should be interpreted as "Ascending".
Direction direction = 5;
// Maximum number of blocks to return. An implementation defined maximum is used when unspecified.
uint32 max_blocks = 6; // optional
Expand Down

0 comments on commit 8920b1c

Please sign in to comment.