Skip to content
This repository has been archived by the owner on Apr 24, 2022. It is now read-only.

Commit

Permalink
Merge pull request #1299 from StefanOberhumer/api-add-ispaused
Browse files Browse the repository at this point in the history
Add info about modified response of miner_getstathr API call.
  • Loading branch information
jean-m-cyr authored Jun 23, 2018
2 parents b16ae4c + 64585a9 commit 788d8e6
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
### Added

- Basic API authentication to protect exposure of API port to the internet [#1228](https://github.com/ethereum-mining/ethminer/pull/1228).
- Add `ispaused` information into response of `miner_getstathr` API query [#1232](https://github.com/ethereum-mining/ethminer/pull/1232).

## 0.15.0rc1

Expand Down
16 changes: 12 additions & 4 deletions docs/API_DOCUMENTATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,13 +188,13 @@ and expect back a response like this:
"id": 1,
"jsonrpc": "2.0",
"result": {
"ethhashrate": 87563392, // Overall HashRate in H/s
"ethhashrate": 73056881, // Overall HashRate in H/s
"ethhashrates": [ // Hashrate per GPU in H/S
14681287,
14506510,
14681287,
14506510,
14506510,
0,
14681287
],
"ethinvalid": 0, // Total number of invalid shares
Expand All @@ -206,7 +206,7 @@ and expect back a response like this:
90,
90,
90,
90,
100,
90
],
"pooladdrs": "eu1.ethermine.org:4444", // Mining pool currently active
Expand All @@ -224,9 +224,17 @@ and expect back a response like this:
50,
56,
58,
61,
68,
60
],
"ispaused": [ // Is mining paused per GPU
false,
false,
false,
false,
true,
false
],
"version": "0.16.0.dev0+commit.41639944" // Running ethminer's version
}
}
Expand Down

0 comments on commit 788d8e6

Please sign in to comment.