Skip to content

Commit 041224a

Browse files
committed
Merge #14472: [doc] getblocktemplate: use SegWit in example
d562027 [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
2 parents 816fab9 + d562027 commit 041224a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rpc/mining.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -362,8 +362,8 @@ static UniValue getblocktemplate(const JSONRPCRequest& request)
362362
"}\n"
363363

364364
"\nExamples:\n"
365-
+ HelpExampleCli("getblocktemplate", "")
366-
+ HelpExampleRpc("getblocktemplate", "")
365+
+ HelpExampleCli("getblocktemplate", "{\"rules\": [\"segwit\"]}")
366+
+ HelpExampleRpc("getblocktemplate", "{\"rules\": [\"segwit\"]}")
367367
);
368368

369369
LOCK(cs_main);

0 commit comments

Comments
 (0)