diff options
| author | Pieter Wuille <[email protected]> | 2018-10-19 19:03:51 -0700 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2018-10-19 19:04:39 -0700 |
| commit | 1b5af2c177ee31109fdd710bc1f1f4f922cedaef (patch) | |
| tree | f276a8c979c3560f73f6a52b98a1c135725b2cca /src | |
| parent | doc: Clean out release notes after release 0.17.0 (diff) | |
| parent | [doc] getblocktemplate: use SegWit in example (diff) | |
| download | discoin-1b5af2c177ee31109fdd710bc1f1f4f922cedaef.tar.xz discoin-1b5af2c177ee31109fdd710bc1f1f4f922cedaef.zip | |
Merge #14509: [0.17] doc: use SegWit in getblocktemplate example
f7dbcaa72f [doc] getblocktemplate: use SegWit in example (Sjors Provoost)
Pull request description:
Backport of #14472
Tree-SHA512: ac0863b5f04abe2cbdbb44f376094aa6c224aecd6d3a87689a2bb5a939cb18503eab6e33bfb9814dd2129ddf1dae0118054afc8eb4c438bd390c172defab343b
Diffstat (limited to 'src')
| -rw-r--r-- | src/rpc/mining.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rpc/mining.cpp b/src/rpc/mining.cpp index e751587dc..9da3c1493 100644 --- a/src/rpc/mining.cpp +++ b/src/rpc/mining.cpp @@ -361,8 +361,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); |