mirror of
https://github.com/bitcoin/bitcoin.git
synced 2024-11-20 10:38:42 +01:00
Merge #14472: [doc] getblocktemplate: use SegWit in example
d562027079
[doc] getblocktemplate: use SegWit in example (Sjors Provoost)
Pull request description:
Make it less likely for new miners to accidentally mine non-SegWit blocks.
Suggest backport to 0.17 so the docs on bitcoincore.org get updated at the next minor release.
Tree-SHA512: fc8c51690559d3e64d03c0eec433c75e5581d616d36b529e16f89ff2433457386feba7ef3b0d22f245d3f725183a2204fef7ee13e25cb92b945ab61f99068dee
This commit is contained in:
commit
041224a75c
@ -362,8 +362,8 @@ static UniValue getblocktemplate(const JSONRPCRequest& request)
|
||||
"}\n"
|
||||
|
||||
"\nExamples:\n"
|
||||
+ HelpExampleCli("getblocktemplate", "")
|
||||
+ HelpExampleRpc("getblocktemplate", "")
|
||||
+ HelpExampleCli("getblocktemplate", "{\"rules\": [\"segwit\"]}")
|
||||
+ HelpExampleRpc("getblocktemplate", "{\"rules\": [\"segwit\"]}")
|
||||
);
|
||||
|
||||
LOCK(cs_main);
|
||||
|
Loading…
Reference in New Issue
Block a user