getblocktemplate help text should report BIP9 ‘rules’ #8945

issue sipa openend this issue on October 17, 2016
  1. sipa commented at 8:53 pm on October 17, 2016: member

    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

  2. sipa commented at 8:54 pm on October 17, 2016: member

    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
    
  3. MarcoFalke added the label RPC/REST/ZMQ on Oct 17, 2016
  4. MarcoFalke added the label Docs and Output on Oct 17, 2016
  5. MarcoFalke added the label Easy to implement on Oct 17, 2016
  6. MarcoFalke added this to the milestone 0.13.1 on Oct 17, 2016
  7. MarcoFalke commented at 8:59 pm on October 17, 2016: member
    per @laanwj : Also the type of jsonrequestobject is mentioned to be a string, but it is a JSON object that needs to be passed in.
  8. laanwj closed this on Oct 19, 2016

  9. 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: 2024-11-21 12:12 UTC

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