commit 588945c2b88cd378d4711f40ad507dee9daa9948
parent 9b50ca566e99a9e77afc2125a11a3b199fb8e1bb
Author: chris-belcher <chris-belcher@users.noreply.github.com>
Date: Mon, 5 Nov 2018 16:30:21 +0000
Print where to find rescan progress indicator (#43)
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/electrumpersonalserver/server/common.py b/electrumpersonalserver/server/common.py
@@ -709,7 +709,7 @@ def rescan():
logger = logger_config(logger, fmt=opts.logfmt, filename=opts.log,
logfilemode='a' if opts.appendlog else 'w')
logger.setLevel(opts.loglevel)
- logger.info('Starting Electrum Personal Server in rescan mode')
+ logger.info('Starting the Electrum Personal Server rescan script')
logger.info('Logging to ' + opts.log)
try:
config = ConfigParser()
@@ -742,5 +742,7 @@ def rescan():
if input("Rescan from block height " + str(height) + " ? (y/n):") != 'y':
return
+ logger.info("Rescanning. . . for progress indicator see the bitcoin node's"
+ + " debug.log file")
rpc.call("rescanblockchain", [height])
logger.info("end")