From 7e6fbf230a9d2065c2c295a2834fdd86d0b43965 Mon Sep 17 00:00:00 2001 From: Michael Rotarius Date: Thu, 4 May 2017 21:20:33 +0200 Subject: [PATCH] Updated GetMiningInfo 0.14.1 --- .../bitcoin-core/rpcs/rpcs/getmininginfo.md | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/_includes/devdoc/bitcoin-core/rpcs/rpcs/getmininginfo.md b/_includes/devdoc/bitcoin-core/rpcs/rpcs/getmininginfo.md index 0598493a..8394aceb 100644 --- a/_includes/devdoc/bitcoin-core/rpcs/rpcs/getmininginfo.md +++ b/_includes/devdoc/bitcoin-core/rpcs/rpcs/getmininginfo.md @@ -66,12 +66,12 @@ The `getmininginfo` RPC {{summary_getMiningInfo}} - n: "→
`testnet`" t: "bool" p: "Required
(exactly 1)" - d: "Set to `true` if this node is running on testnet. Set to `false` if this node is on mainnet or a regtest" + d: "*Removed in Bitcoin Core 0.14.0*

Set to `true` if this node is running on testnet. Set to `false` if this node is on mainnet or a regtest" - n: "→
`chain`" t: "string" p: "Required
(exactly 1)" - d: "*Added in Bitcoin Core 0.10.0*

Set to `main` for mainnet, `test` for testnet, and `regtest` for regtest" + d: "Set to `main` for mainnet, `test` for testnet, and `regtest` for regtest" - n: "→
`generate`" t: "bool" @@ -85,25 +85,25 @@ The `getmininginfo` RPC {{summary_getMiningInfo}} {% enditemplate %} -*Example from Bitcoin Core 0.13.1* +*Example from Bitcoin Core 0.14.1* {% highlight bash %} -bitcoin-cli -testnet getmininginfo +bitcoin-cli getmininginfo {% endhighlight %} Result: {% highlight json %} { - "blocks" : 313168, - "currentblocksize" : 1819, - "currentblocktx" : 3, - "difficulty" : 1.00000000, - "errors" : "", - "networkhashps" : 5699977416637, - "pooledtx" : 8, - "testnet" : true, - "chain" : "test", + "blocks": 464545, + "currentblocksize": 0, + "currentblockweight": 0, + "currentblocktx": 0, + "difficulty": 521974519553.6282, + "errors": "", + "networkhashps": 4.126888339085874e+18, + "pooledtx": 31241, + "chain": "main" } {% endhighlight %}