Describe the issue
The getblocktemplate
RPC output does not list the ‘rules’ field in the template request object, as described in BIP9.
What version of bitcoin-core are you using?
0.13.1rc1
The getblocktemplate
RPC output does not list the ‘rules’ field in the template request object, as described in BIP9.
0.13.1rc1
As reported on IRC by @laanwj:
022:43:56 < Lightsword> sipa, how do I do that with bitcoin-cli?
122:45:27 < sipa> $ ./bitcoin-cli -testnet getblocktemplate '{"rules":["segwit"]}'
222:46:17 < wumpus> seems that's not documented in the help for the request
322:46:44 < wumpus> just 'capabilities' and 'mode'; 'rules' is only shown as a reply field
jsonrequestobject
is mentioned to be a string, but it is a JSON object that needs to be passed in.