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

Add info about modified response of miner_getstathr API call. #1299

Merged
merged 1 commit into from
Jun 23, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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