aboutsummaryrefslogtreecommitdiff
path: root/src/rpcwallet.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-02-16 10:23:59 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2014-02-16 10:26:12 +0100
commit6c0db81c09b7602bd9d5bb6ccda20366b768f8bf (patch)
tree0281468619c4e89c80412a3e1baf118979f558ae /src/rpcwallet.cpp
parent25d816110ba28c5014b23c9a363c472fc28a3891 (diff)
downloadbitcoin-6c0db81c09b7602bd9d5bb6ccda20366b768f8bf.tar.xz
Document new `walletpassphrase` behavior in 0.9
Also add a note to the release notes. Fixes #3672.
Diffstat (limited to 'src/rpcwallet.cpp')
-rw-r--r--src/rpcwallet.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rpcwallet.cpp b/src/rpcwallet.cpp
index 97c4008dac..81162cf815 100644
--- a/src/rpcwallet.cpp
+++ b/src/rpcwallet.cpp
@@ -1574,6 +1574,9 @@ Value walletpassphrase(const Array& params, bool fHelp)
"\nArguments:\n"
"1. \"passphrase\" (string, required) The wallet passphrase\n"
"2. timeout (numeric, required) The time to keep the decryption key in seconds.\n"
+ "\nNote:\n"
+ "Issuing the walletpassphrase command while the wallet is already unlocked will set a new unlock\n"
+ "time that overrides the old one.\n"
"\nExamples:\n"
"\nunlock the wallet for 60 seconds\n"
+ HelpExampleCli("walletpassphrase", "\"my pass phrase\" 60") +