aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2012-01-12 06:31:25 -0800
committerGavin Andresen <gavinandresen@gmail.com>2012-01-12 06:31:25 -0800
commit3f64fa1369bde45034e451c4093e0852e59a1cdf (patch)
tree2660c3cdcb6153cacf7524e13dc46dd0564b5b4f /src/init.cpp
parentafcf6f974f5c0746db5526b0c209c7db0f5dbe0b (diff)
parentd237f62c2360107235fc75f4533711e98c70e2aa (diff)
Merge pull request #743 from gavinandresen/blocknotify
-blocknotify : run a command when best-block changes
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/init.cpp b/src/init.cpp
index 7c33448971..e01516eb33 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -227,6 +227,7 @@ bool AppInit2(int argc, char* argv[])
" -rpcport=<port> \t\t " + _("Listen for JSON-RPC connections on <port> (default: 8332)") + "\n" +
" -rpcallowip=<ip> \t\t " + _("Allow JSON-RPC connections from specified IP address") + "\n" +
" -rpcconnect=<ip> \t " + _("Send commands to node running on <ip> (default: 127.0.0.1)") + "\n" +
+ " -blocknotify=<cmd> " + _("Execute command when the best block changes (%s in cmd is replaced by block hash)") + "\n" +
" -keypool=<n> \t " + _("Set key pool size to <n> (default: 100)") + "\n" +
" -rescan \t " + _("Rescan the block chain for missing wallet transactions") + "\n";