Fixes #16594. I didn't found any other syntax error in the code. Correct me if I'm wrong
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-
emilengler commented at 4:27 PM on August 13, 2019: contributor
-
rpc: Fix getblocktemplate CLI example (#16594) 14f7eec3bd
- DrahtBot added the label Mining on Aug 13, 2019
- DrahtBot added the label RPC/REST/ZMQ on Aug 13, 2019
- fanquake renamed this:
rpc: Fix getblocktemplate CLI example (#16594)
rpc: Fix getblocktemplate CLI example
on Aug 14, 2019 - fanquake added the label Needs backport on Aug 14, 2019
- fanquake approved
-
fanquake commented at 9:25 AM on August 14, 2019: member
ACK 14f7eec3bdb15a9a75f8686c0a3e879aa8ceef47
Using
master (05ccbe9a299116c50d6e99042c1eb4e45119c78a):src/bitcoin-cli -testnet help getblocktemplate ... Examples: > bitcoin-cli getblocktemplate {"rules": ["segwit"]} src/bitcoin-cli -testnet getblocktemplate {"rules": ["segwit"]} error: Error parsing JSON:{rules:This PR:
src/bitcoin-cli -testnet help getblocktemplate ... Examples: > bitcoin-cli getblocktemplate '{"rules": ["segwit"]}' src/bitcoin-cli -testnet getblocktemplate '{"rules": ["segwit"]}' { "capabilities": [ "proposal" ], "version": 536870912, "rules": [ "csv", "segwit" ], "vbavailable": { }, .... - fanquake merged this on Aug 14, 2019
- fanquake closed this on Aug 14, 2019
- fanquake referenced this in commit 0753c73927 on Aug 14, 2019
- fanquake referenced this in commit 279e1341e8 on Aug 15, 2019
- fanquake removed the label Needs backport on Aug 15, 2019
- fanquake referenced this in commit 66c1c636d5 on Aug 24, 2019
- emilengler deleted the branch on Sep 1, 2019
- fanquake referenced this in commit 7bd8f4e432 on Sep 23, 2019
- laanwj referenced this in commit 29d70264fb on Nov 25, 2019
- DrahtBot locked this on Dec 16, 2021