Skip to content

Commit

Permalink
openrpc: remove eth_submitHashrate
Browse files Browse the repository at this point in the history
It was in the Under list, ergo not available from the
actual server. Was listed as deprecated. Has met its fate.

Signed-off-by: meows <b5c6@protonmail.com>
  • Loading branch information
meowsbits committed Mar 12, 2020
1 parent f71a118 commit affbfe9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 32 deletions.
29 changes: 0 additions & 29 deletions openrpc.json
Original file line number Diff line number Diff line change
Expand Up @@ -890,35 +890,6 @@
}
}
},
{
"name": "eth_submitHashrate",
"deprecated": true,
"summary": "Used for submitting mining hashrate.",
"params": [
{
"name": "hashRate",
"required": true,
"schema": {
"$ref": "#/components/schemas/DataWord"
}
},
{
"name": "id",
"required": true,
"description": "String identifying the client",
"schema": {
"$ref": "#/components/schemas/DataWord"
}
}
],
"result": {
"name": "submitHashRateSuccess",
"description": "whether of not submitting went through successfully",
"schema": {
"type": "boolean"
}
}
},
{
"name": "eth_submitWork",
"summary": "Used for submitting a proof-of-work solution.",
Expand Down
4 changes: 2 additions & 2 deletions openrpc_describe.log
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"jsonrpc": "2.0",
"id": 1584030823,
"id": 1584030881,
"result": {
"Over": ["eth_submitHashrate"],
"Over": [],
"Under": [
{
"Name": "admin_addPeer",
Expand Down
2 changes: 1 addition & 1 deletion openrpc_set.log
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"jsonrpc":"2.0","id":1584030822,"result":null}
{"jsonrpc":"2.0","id":1584030881,"result":null}

0 comments on commit affbfe9

Please sign in to comment.