rpc: Fix getblocktemplate CLI example #16596

pull emilengler wants to merge 1 commits into bitcoin:master from emilengler:2019-08-helpexamplecli-fix changing 1 files +1 −1
  1. emilengler commented at 4:27 pm on August 13, 2019: contributor
    Fixes #16594. I didn’t found any other syntax error in the code. Correct me if I’m wrong
  2. rpc: Fix getblocktemplate CLI example (#16594) 14f7eec3bd
  3. DrahtBot added the label Mining on Aug 13, 2019
  4. DrahtBot added the label RPC/REST/ZMQ on Aug 13, 2019
  5. fanquake renamed this:
    rpc: Fix getblocktemplate CLI example (#16594)
    rpc: Fix getblocktemplate CLI example
    on Aug 14, 2019
  6. fanquake added the label Needs backport on Aug 14, 2019
  7. fanquake approved
  8. fanquake commented at 9:25 am on August 14, 2019: member

    ACK 14f7eec3bdb15a9a75f8686c0a3e879aa8ceef47

    Using master (05ccbe9a299116c50d6e99042c1eb4e45119c78a):

    0src/bitcoin-cli -testnet help getblocktemplate
    1...
    2Examples:
    3> bitcoin-cli getblocktemplate {"rules": ["segwit"]}
    4
    5src/bitcoin-cli -testnet getblocktemplate {"rules": ["segwit"]}
    6error: Error parsing JSON:{rules:
    

    This PR:

     0src/bitcoin-cli -testnet help getblocktemplate
     1...
     2Examples:
     3> bitcoin-cli getblocktemplate '{"rules": ["segwit"]}'
     4
     5src/bitcoin-cli -testnet getblocktemplate '{"rules": ["segwit"]}'
     6{
     7  "capabilities": [
     8    "proposal"
     9  ],
    10  "version": 536870912,
    11  "rules": [
    12    "csv",
    13    "segwit"
    14  ],
    15  "vbavailable": {
    16  },
    17....
    
  9. fanquake merged this on Aug 14, 2019
  10. fanquake closed this on Aug 14, 2019

  11. fanquake referenced this in commit 0753c73927 on Aug 14, 2019
  12. fanquake referenced this in commit 279e1341e8 on Aug 15, 2019
  13. fanquake removed the label Needs backport on Aug 15, 2019
  14. fanquake referenced this in commit 66c1c636d5 on Aug 24, 2019
  15. emilengler deleted the branch on Sep 1, 2019
  16. fanquake referenced this in commit 7bd8f4e432 on Sep 23, 2019
  17. laanwj referenced this in commit 29d70264fb on Nov 25, 2019
  18. DrahtBot locked this on Dec 16, 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: 2024-12-21 15:12 UTC

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