Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RFCs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
documents
RFCs
Commits
f078d38d
Commit
f078d38d
authored
7 years ago
by
Éloïs
Browse files
Options
Downloads
Patches
Plain Diff
[fix] requests names are strings
parent
7841bbdd
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
rfc/0004_ws2p_v1.md
+4
-12
4 additions, 12 deletions
rfc/0004_ws2p_v1.md
with
4 additions
and
12 deletions
rfc/0004_ws2p_v1.md
+
4
−
12
View file @
f078d38d
...
...
@@ -410,14 +410,12 @@ Each type of query has a unique identifier called "name" (Realy it's an integer)
### getCurrent
name = 3
JSON Message :
{
reqId: REQUESTS_UNIQUE_ID,
body: {
name:
3
,
name:
"CURRENT"
,
params: {}
}
}
...
...
@@ -441,14 +439,12 @@ JSON error response :
### getBlock
name = 2
JSON Message :
{
reqId: REQUESTS_UNIQUE_ID,
body: {
name:
2
,
name:
"BLOCK_BY_NUMBER"
,
params: {
number: BLOCK_NUMBER
}
...
...
@@ -474,14 +470,12 @@ JSON error response :
### getBlocks
name = 1
JSON Message :
{
reqId: REQUESTS_UNIQUE_ID,
body: {
name:
1
,
name:
"BLOCKS_CHUNK"
,
params: {
count: *number of blocks requested*,
fromNumber: *number of the 1st block of the requested interval*
...
...
@@ -514,14 +508,12 @@ JSON error response :
Requests the "requirements" of all identities that have received at least
`minCert`
certifications.
name = 0
JSON Message :
{
reqId: REQUESTS_UNIQUE_ID,
body: {
name:
0
,
name:
"WOT_REQUIREMENTS_OF_PENDING"
,
params: {
minCert: *integer*
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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