Hello all,
does the latest version of bitcoind support GBT/
append?
(
A) I can get the blocktemplate easily with
bitcoin-cli getblocktemplate '{"rules": ["segwit"]}'
For getting the template with coinbase/append support
according this information it needs
{"id": 0, "method": "getblocktemplate", "params": [{"capabilities": ["coinbasetxn", "workid", "coinbase/append"]}]}
(
B)
I am trying to get this template with
bitcoin-cli getblocktemplate '{"params": [{"capabilities": ["coinbasetxn", "workid", "coinbase/append"]}]}'
error code: -8
error message:
getblocktemplate must be called with the segwit rule set (call with {"rules": ["segwit"]})
(
C) However, when trying to combine those two
bitcoin-cli getblocktemplate '{"rules": ["segwit"], "params": [{"capabilities": ["coinbasetxn", "workid", "coinbase/append"]}]}'
I get the same output as I got in (A). How?