mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-08-29 15:45:00 +02:00
[doc] getblocktemplate: use SegWit in example
This commit is contained in:
@@ -362,8 +362,8 @@ static UniValue getblocktemplate(const JSONRPCRequest& request)
|
|||||||
"}\n"
|
"}\n"
|
||||||
|
|
||||||
"\nExamples:\n"
|
"\nExamples:\n"
|
||||||
+ HelpExampleCli("getblocktemplate", "")
|
+ HelpExampleCli("getblocktemplate", "{\"rules\": [\"segwit\"]}")
|
||||||
+ HelpExampleRpc("getblocktemplate", "")
|
+ HelpExampleRpc("getblocktemplate", "{\"rules\": [\"segwit\"]}")
|
||||||
);
|
);
|
||||||
|
|
||||||
LOCK(cs_main);
|
LOCK(cs_main);
|
||||||
|
Reference in New Issue
Block a user