aboutsummaryrefslogtreecommitdiff
path: root/src/bitcoinrpc.cpp
diff options
context:
space:
mode:
authorJeff Garzik <[email protected]>2013-03-29 07:49:56 -0700
committerJeff Garzik <[email protected]>2013-03-29 07:49:56 -0700
commit8455310a7bbba7fea28dc604df37c9fb9d2719c7 (patch)
tree829df8571d0a1aadb37909d5d494cf3300d0cb0d /src/bitcoinrpc.cpp
parentMerge pull request #2424 from laanwj/2013_03_capslock (diff)
parentRecommend alertnotify (diff)
downloaddiscoin-8455310a7bbba7fea28dc604df37c9fb9d2719c7.tar.xz
discoin-8455310a7bbba7fea28dc604df37c9fb9d2719c7.zip
Merge pull request #2385 from gavinandresen/alertnotify
alertnotify, so bitcoind users can get email/sms/whatever of alerts
Diffstat (limited to 'src/bitcoinrpc.cpp')
-rw-r--r--src/bitcoinrpc.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bitcoinrpc.cpp b/src/bitcoinrpc.cpp
index 4a6cc42ef..b6d8de4a1 100644
--- a/src/bitcoinrpc.cpp
+++ b/src/bitcoinrpc.cpp
@@ -769,7 +769,9 @@ void ThreadRPCServer2(void* parg)
"rpcpassword=%s\n"
"(you do not need to remember this password)\n"
"The username and password MUST NOT be the same.\n"
- "If the file does not exist, create it with owner-readable-only file permissions.\n"),
+ "If the file does not exist, create it with owner-readable-only file permissions.\n"
+ "It is also recommended to set alertnotify so you are notified of problems;\n"
+ "for example: alertnotify=echo %%s | mail -s \"Bitcoin Alert\" [email protected]\n"),
strWhatAmI.c_str(),
GetConfigFile().string().c_str(),
EncodeBase58(&rand_pwd[0],&rand_pwd[0]+32).c_str()),