Skip to content

Commit

Permalink
MempoolAncestors and MempooDescendants
Browse files Browse the repository at this point in the history
  • Loading branch information
cloneearth committed May 21, 2018
1 parent d4a6aef commit 49a7898
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 5 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.14",
"version": "0.1.15",
"private": true,
"scripts": {
"start": "node ./bin/www"
Expand Down
26 changes: 22 additions & 4 deletions public/bitbox-rest-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -519,10 +519,13 @@
],
"responses": {
"200": {
"description": "successful operation"
"description": "successful operation",
"schema": {
"$ref": "#/definitions/MempoolAncestors"
}
},
"400": {
"description": "Invalid tag value"
"description": "transaction not found"
}
}
}
Expand Down Expand Up @@ -557,10 +560,13 @@
],
"responses": {
"200": {
"description": "successful operation"
"description": "successful operation",
"schema": {
"$ref": "#/definitions/MempoolDescendants"
}
},
"400": {
"description": "Invalid tag value"
"description": "transaction not found"
}
}
}
Expand Down Expand Up @@ -2617,6 +2623,18 @@
},
"ConnectionCount": {
"type": "number",
},
"MempoolAncestors": {
"type": "array",
"items": {
"type": "string"
}
},
"MempoolDescendants": {
"type": "array",
"items": {
"type": "string"
}
}
}
}

0 comments on commit 49a7898

Please sign in to comment.