aboutsummaryrefslogtreecommitdiff
path: root/src/wallet
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2017-04-17 22:10:46 +0200
committerMarcoFalke <falke.marco@gmail.com>2017-04-17 22:11:03 +0200
commit50a1cc0f0aef1514b917a5a3f4476967170b429d (patch)
treedc2ad5383786887215491b8996c3f6edb11fb42c /src/wallet
parent6ce733747e160ca699711f2c47e686284ca9aa07 (diff)
parentc9e31c36ffacedb85d4d9ce75a92e011a3e7d4b4 (diff)
downloadbitcoin-50a1cc0f0aef1514b917a5a3f4476967170b429d.tar.xz
Merge #10207: Clarify importprivkey help text ... example of blank label without rescan
c9e31c3 Clarify importprivkey help text with example of blank label without rescan Occasionally I waste a lot of time not remembering that the second parameter to importprivkey must be blank if you intend to stop rescan with "false" as the third parameter. (Warren Togami) Tree-SHA512: 23781e1d6fd59a9d06d6e12ad10e8ed6641947b3e4a1f66c8fdb5d44cbd8f291e8f2a5e686aa9f9ba5e4bab8ca688caa17244e837f651546055ddf7cc8e7df8f
Diffstat (limited to 'src/wallet')
-rw-r--r--src/wallet/rpcdump.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wallet/rpcdump.cpp b/src/wallet/rpcdump.cpp
index 7ff9e7ae58..231d68f222 100644
--- a/src/wallet/rpcdump.cpp
+++ b/src/wallet/rpcdump.cpp
@@ -95,6 +95,8 @@ UniValue importprivkey(const JSONRPCRequest& request)
+ HelpExampleCli("importprivkey", "\"mykey\"") +
"\nImport using a label and without rescan\n"
+ HelpExampleCli("importprivkey", "\"mykey\" \"testing\" false") +
+ "\nImport using default blank label and without rescan\n"
+ + HelpExampleCli("importprivkey", "\"mykey\" \"\" false") +
"\nAs a JSON-RPC call\n"
+ HelpExampleRpc("importprivkey", "\"mykey\", \"testing\", false")
);