aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core/cryptonote_core.cpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-02-06 22:01:40 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-03-04 11:48:44 +0000
commit356d813799d9266ec923659e02f84a06071722d7 (patch)
treed9ff5e27399675b61177abed617c39e4ffa130e5 /src/cryptonote_core/cryptonote_core.cpp
parent4d598e3d4d4f0be5fadb3fda73fcdbb7e2bef136 (diff)
downloadmonzero-core-356d813799d9266ec923659e02f84a06071722d7.tar.gz
monzero-core-356d813799d9266ec923659e02f84a06071722d7.tar.xz
monzero-core-356d813799d9266ec923659e02f84a06071722d7.zip
blockchain: include number of discarded blocks in --reorg-notify
Diffstat (limited to 'src/cryptonote_core/cryptonote_core.cpp')
-rw-r--r--src/cryptonote_core/cryptonote_core.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/cryptonote_core/cryptonote_core.cpp b/src/cryptonote_core/cryptonote_core.cpp
index f15901175..7f25b6851 100644
--- a/src/cryptonote_core/cryptonote_core.cpp
+++ b/src/cryptonote_core/cryptonote_core.cpp
@@ -188,8 +188,9 @@ namespace cryptonote
static const command_line::arg_descriptor<std::string> arg_reorg_notify = {
"reorg-notify"
, "Run a program for each reorg, '%s' will be replaced by the split height, "
- "'%h' will be replaced by the new blockchain height, and '%n' will be "
- "replaced by the number of new blocks in the new chain"
+ "'%h' will be replaced by the new blockchain height, '%n' will be "
+ "replaced by the number of new blocks in the new chain, and '%d' will be "
+ "replaced by the number of blocks discarded from the old chain"
, ""
};
static const command_line::arg_descriptor<std::string> arg_block_rate_notify = {