document return value of networkhashps for getmininginfo RPC endpoint #8461

pull jlopp wants to merge 1 commits into bitcoin:master from jlopp:rpcMiningHelp changing 1 files +3 −2
  1. jlopp commented at 9:36 PM on August 4, 2016: contributor

    It looks like this value isn't documented in the RPC help. If it would be helpful, we could be even more specific and mention that it uses the default trailing 120 blocks parameter to calculate the hashrate.

  2. paveljanik commented at 7:00 AM on August 5, 2016: contributor

    ACK https://github.com/bitcoin/bitcoin/pull/8461/commits/205eb350fd312ee0cf8dde9b0db0418799d2fbd9

    As you are touching the helptext, can you please align "errors" and "chain" helptexts by adding two spaces before "(string)"?

      "errors": "..."          (string) Current errors
      "networkhashps": nnn,      (numeric) The network hashes per second
      "pooledtx": n              (numeric) The size of the mem pool
      "testnet": true|false      (boolean) If using testnet or not
      "chain": "xxxx",         (string) current network name as defined in BIP70 (main, test, regtest)
    
  3. jonasschnelli added the label Docs and Output on Aug 5, 2016
  4. jonasschnelli commented at 7:39 AM on August 5, 2016: contributor
  5. document return value of networkhashps for getmininginfo RPC endpoint 65f4532f13
  6. jlopp force-pushed on Aug 5, 2016
  7. MarcoFalke commented at 8:05 AM on August 5, 2016: member

    ACK 65f4532

  8. jlopp commented at 8:05 AM on August 5, 2016: contributor

    Updated to align "chain" and "errors" output with rest of help text.

  9. paveljanik commented at 8:11 AM on August 5, 2016: contributor
  10. btcdrak commented at 10:52 AM on August 5, 2016: contributor

    ACK 65f4532

  11. fanquake commented at 8:03 AM on August 6, 2016: member

    ACK 65f4532

  12. laanwj merged this on Aug 19, 2016
  13. laanwj closed this on Aug 19, 2016

  14. laanwj referenced this in commit f4e777819c on Aug 19, 2016
  15. MarcoFalke added the label Needs backport on Aug 19, 2016
  16. MarcoFalke removed the label Needs backport on Aug 19, 2016
  17. luke-jr commented at 8:56 AM on September 10, 2016: member

    Backport needed, I guess. (all the way back to 0.9.x, but we don't maintain that far back)

  18. MarcoFalke commented at 10:52 AM on September 11, 2016: member

    @luke-jr According to current https://bitcoincore.org/en/lifecycle/ 0.11 only receives critical security fixes and this is only a documentation fix. (Though, I am not against backports for 0.12 and 0.13)

  19. luke-jr referenced this in commit b17a3f9e5a on Sep 21, 2016
  20. codablock referenced this in commit 967b1e4bb3 on Sep 19, 2017
  21. codablock referenced this in commit 8aabc822df on Dec 29, 2017
  22. codablock referenced this in commit 5bf3dadcb6 on Jan 8, 2018
  23. andvgal referenced this in commit 6666a38c51 on Jan 6, 2019
  24. DrahtBot locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-22 18:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me