Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
polkadot-sdk
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
parity
Mirrored projects
polkadot-sdk
Commits
8920b1c5
Commit
8920b1c5
authored
2 years ago
by
Pierre Krieger
Committed by
GitHub
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Clarify the "direction" field of block requests (#12438)
parent
453b9ef2
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
substrate/client/network/sync/src/schema/api.v1.proto
+1
-0
1 addition, 0 deletions
substrate/client/network/sync/src/schema/api.v1.proto
with
1 addition
and
0 deletions
substrate/client/network/sync/src/schema/api.v1.proto
+
1
−
0
View file @
8920b1c5
...
@@ -24,6 +24,7 @@ message BlockRequest {
...
@@ -24,6 +24,7 @@ message BlockRequest {
bytes
number
=
3
;
bytes
number
=
3
;
}
}
// Sequence direction.
// Sequence direction.
// If missing, should be interpreted as "Ascending".
Direction
direction
=
5
;
Direction
direction
=
5
;
// Maximum number of blocks to return. An implementation defined maximum is used when unspecified.
// Maximum number of blocks to return. An implementation defined maximum is used when unspecified.
uint32
max_blocks
=
6
;
// optional
uint32
max_blocks
=
6
;
// optional
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment