mirror of
https://github.com/seigler/dash-docs
synced 2025-07-28 10:16:15 +00:00
Dev Docs: Tweak GetHashesPerSec Deprecation
* Ran `make manual-updates` to grab new summary * Clarified that GHPS is part of 0.10.0 and is removed in master * Autocrossref'd "Bitcoin Core master" to GitHub repo * Removed GHPS from list of Mining RPCs now that it's in Removed RPCs
This commit is contained in:
parent
f2e268da4a
commit
848429f0c9
6 changed files with 12 additions and 8 deletions
|
@ -16,6 +16,9 @@ changes made more than two years ago.
|
|||
Use v0.n.n in abbreviation title to prevent autocrossrefing.
|
||||
{% endcomment %}
|
||||
|
||||
<!-- master -->
|
||||
{% assign UPDATED_MASTER='**<abbr title="Updated in Bitcoin Core’s master branch (unreleased)">Updated in master</abbr>**' %}
|
||||
|
||||
<!-- Bitcoin Core 0.10.0 expected January 2015 -->
|
||||
{% assign DEPRECATED='**<abbr title="Deprecated; will be removed in a future version of Bitcoin Core">Deprecated</abbr>**' %}
|
||||
{% assign NEW0_10_0='**<abbr title="New in Bitcoin Core v0.10.0">New in 0.10.0</abbr>**' %}
|
||||
|
@ -74,7 +77,6 @@ Use v0.n.n in abbreviation title to prevent autocrossrefing.
|
|||
{% autocrossref %}
|
||||
|
||||
* [GetGenerate][rpc getgenerate]: {{summary_getGenerate}}
|
||||
* [GetHashesPerSec][rpc gethashespersec]: {{summary_getHashesPerSec}}
|
||||
* [SetGenerate][rpc setgenerate]: {{summary_setGenerate}}
|
||||
|
||||
{% endautocrossref %}
|
||||
|
@ -86,7 +88,7 @@ Use v0.n.n in abbreviation title to prevent autocrossrefing.
|
|||
{% autocrossref %}
|
||||
|
||||
* [GetBlockTemplate][rpc getblocktemplate]: {{summary_getBlockTemplate}}
|
||||
* [GetMiningInfo][rpc getmininginfo]: {{summary_getMiningInfo}}
|
||||
* [GetMiningInfo][rpc getmininginfo]: {{summary_getMiningInfo}} {{UPDATED_MASTER}}
|
||||
* [GetNetworkHashPS][rpc getnetworkhashps]: {{summary_getNetworkHashPS}}
|
||||
* [PrioritiseTransaction][rpc prioritisetransaction]: {{summary_prioritiseTransaction}} {{NEW0_10_0}}
|
||||
* [SubmitBlock][rpc submitblock]: {{summary_submitBlock}}
|
||||
|
@ -196,7 +198,7 @@ default.
|
|||
|
||||
{% autocrossref %}
|
||||
|
||||
* [GetWork][rpc getwork]: {{summary_getWork}} {{REMOVED0_10_0}}
|
||||
* [GetHashesPerSec][rpc gethashespersec]: {{summary_getHashesPerSec}} {{REMOVED0_10_0}}
|
||||
* [GetHashesPerSec][rpc gethashespersec]: {{summary_getHashesPerSec}}
|
||||
* [GetWork][rpc getwork]: {{summary_getWork}}
|
||||
|
||||
{% endautocrossref %}
|
||||
|
|
|
@ -7,7 +7,7 @@ http://opensource.org/licenses/MIT.
|
|||
##### GetHashesPerSec
|
||||
{% include helpers/subhead-links.md %}
|
||||
|
||||
{% assign summary_getHashesPerSec="was removed in Bitcoin Core 0.10.0. It returned a recent hashes per second performance measurement when the node was generating blocks." %}
|
||||
{% assign summary_getHashesPerSec="was removed in Bitcoin Core master (unreleased). It returned a recent hashes per second performance measurement when the node was generating blocks." %}
|
||||
|
||||
{% autocrossref %}
|
||||
|
||||
|
@ -24,7 +24,7 @@ The `gethashespersec` RPC {{summary_getHashesPerSec}}
|
|||
| `result` | number (int) | Required<br>(exactly 1) | If generation is enabled, the number of hashes per second your computer most recently generated. If generation is disabled, the value `0`
|
||||
{:.ntpd}
|
||||
|
||||
*Example from Bitcoin Core 0.9.3*
|
||||
*Example from Bitcoin Core 0.10.0*
|
||||
|
||||
{% highlight bash %}
|
||||
bitcoin-cli -testnet gethashespersec
|
||||
|
|
|
@ -31,7 +31,7 @@ The `getmininginfo` RPC {{summary_getMiningInfo}}
|
|||
| →<br>`testnet` | bool | Required<br>(exactly 1) | Set to `true` if this node is running on testnet. Set to `false` if this node is on mainnet or a regtest
|
||||
| →<br>`chain` | string | Required<br>(exactly 1) | Set to `main` for mainnet, `test` for testnet, and `regtest` for regtest
|
||||
| →<br>`generate` | bool | Optional<br>(0 or 1) | Set to `true` if generation is currently enabled; set to `false` if generation is currently disabled. Only returned if the node has wallet support enabled
|
||||
| →<br>`hashespersec` | number (int) | Optional<br>(0 or 1) | The approximate number of hashes per second this node is generating across all CPUs, if generation is enabled. Otherwise `0`. Only returned if the node has wallet support enabled
|
||||
| →<br>`hashespersec` | number (int) | Optional<br>(0 or 1) | *Removed in Bitcoin Core master (unreleased)*<br><br>The approximate number of hashes per second this node is generating across all CPUs, if generation is enabled. Otherwise `0`. Only returned if the node has wallet support enabled
|
||||
{:.ntpd}
|
||||
|
||||
*Example from Bitcoin Core 0.10.0*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue