diff options
| author | MarcoFalke <[email protected]> | 2017-04-17 22:10:46 +0200 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2017-04-17 22:11:03 +0200 |
| commit | 50a1cc0f0aef1514b917a5a3f4476967170b429d (patch) | |
| tree | dc2ad5383786887215491b8996c3f6edb11fb42c /src | |
| parent | Merge #10222: [tests] test_runner - check unicode (diff) | |
| parent | Clarify importprivkey help text with example of blank label without rescan (diff) | |
| download | discoin-50a1cc0f0aef1514b917a5a3f4476967170b429d.tar.xz discoin-50a1cc0f0aef1514b917a5a3f4476967170b429d.zip | |
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')
| -rw-r--r-- | src/wallet/rpcdump.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wallet/rpcdump.cpp b/src/wallet/rpcdump.cpp index 7ff9e7ae5..231d68f22 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") ); |