diff options
author | Kristaps Kaupe <kristaps@blogiem.lv> | 2019-05-22 00:35:21 +0300 |
---|---|---|
committer | Kristaps Kaupe <kristaps@blogiem.lv> | 2019-05-22 00:35:21 +0300 |
commit | df0e97ccb13a28825a2731b95d2bb17f355f6920 (patch) | |
tree | 8069e3c495f89800b8bbdaa071739d7c0a7afbf3 | |
parent | 3001cc61cf11e016c403ce83c9cbcfd3efcbcfd9 (diff) |
RPC: Hint for importmulti in help output of importpubkey and importaddress
-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 3861b5524f..54fac47313 100644 --- a/src/wallet/rpcdump.cpp +++ b/src/wallet/rpcdump.cpp @@ -289,6 +289,7 @@ UniValue importaddress(const JSONRPCRequest& request) "\nNote: This call can take over an hour to complete if rescan is true, during that time, other rpc calls\n" "may report that the imported address exists but related transactions are still missing, leading to temporarily incorrect/bogus balances and unspent outputs until rescan completes.\n" "If you have the full public key, you should call importpubkey instead of this.\n" + "Hint: use importmulti to import more than one address.\n" "\nNote: If you import a non-standard raw script in hex form, outputs sending to it will be treated\n" "as change, and not show up in many RPCs.\n", { @@ -486,6 +487,7 @@ UniValue importpubkey(const JSONRPCRequest& request) throw std::runtime_error( RPCHelpMan{"importpubkey", "\nAdds a public key (in hex) that can be watched as if it were in your wallet but cannot be used to spend. Requires a new wallet backup.\n" + "Hint: use importmulti to import more than one public key.\n" "\nNote: This call can take over an hour to complete if rescan is true, during that time, other rpc calls\n" "may report that the imported pubkey exists but related transactions are still missing, leading to temporarily incorrect/bogus balances and unspent outputs until rescan completes.\n", { |