Mise à jour de GitLab prévue ce samedi 23 octobre 2021 à partir de 9h00 CET

Commit f078d38d authored by Éloïs's avatar Éloïs
Browse files

[fix] requests names are strings

parent 7841bbdd
......@@ -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*
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment