Title: 0.13.1 call to getblocktemplate failing on testnet Post by: jonnybravo0311 on November 07, 2016, 02:42:11 PM All,
Firstly, I apologize if this should have been started in another area. I've recently started work on supporting SegWit on my pool. As is typical, I always ensure I execute against testnet well before I put anything into the live network. So, I fire up my trusty dev box and build 0.13.1 from source (I had 0.12.0 on the box already). Everything goes swimmingly, and I start up the daemon. Blocks start downloading and everything synchronizes just fine. First call I make is Code: bitcoin-cli getblocktemplate The result was rather shocking: Code: error code: -8 I've got 0.13.1 running locally on my laptop, so I called GBT there. Returned exactly what I was expecting. The obvious difference between the two networks is that segwit is active on testnet, while it isn't on live. I now called Code: bitcoin-cli getinfo Rather strange message came back from that call: Code: { Is this what is preventing me from successfully building a block template, but allowing other calls to successfully execute? Any help or guidance would be greatly appreciated. Title: Re: 0.13.1 call to getblocktemplate failing on testnet Post by: achow101 on November 07, 2016, 02:46:50 PM I believe you need to run the command like this
Code: getblocktemplate '{"rules":["segwit"]}' Title: Re: 0.13.1 call to getblocktemplate failing on testnet Post by: jonnybravo0311 on November 07, 2016, 04:09:49 PM That solved it. Thanks for the help!
/locked |