Skip to content

Commit

Permalink
RawMempool and VerifyChain
Browse files Browse the repository at this point in the history
  • Loading branch information
cloneearth committed May 21, 2018
1 parent fc10c2f commit 13cef22
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 24 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rest-cloud",
"version": "0.1.9",
"version": "0.1.10",
"private": true,
"scripts": {
"start": "node ./bin/www"
Expand Down
38 changes: 15 additions & 23 deletions public/bitbox-rest-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -639,10 +639,10 @@
],
"responses": {
"200": {
"description": "successful operation"
},
"400": {
"description": "Invalid tag value"
"description": "successful operation",
"schema": {
"$ref": "#/definitions/RawMempool"
}
}
}
}
Expand Down Expand Up @@ -827,7 +827,10 @@
],
"responses": {
"200": {
"description": "successful operation"
"description": "successful operation",
"schema": {
"$ref": "#/definitions/VerifyChain"
}
}
}
}
Expand Down Expand Up @@ -1845,26 +1848,15 @@
},
}
},
"RawMempool": {
"type": "object",
"properties": {
"size": {
"type": "number"
},
"bytes": {
"type": "number"
},
"usage": {
"type": "number"
},
"maxmempool": {
"type": "number"
},
"mempoolminfee": {
"type": "number"
}
"RawMempool": {
"type": "array",
"items": {
"type": "string"
}
},
"VerifyChain": {
"type": "boolean"
},
"transactionDetails": {
"type": "object",
"properties": {
Expand Down

0 comments on commit 13cef22

Please sign in to comment.