Skip to content

Commit

Permalink
Print where to find rescan progress indicator (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-belcher committed Nov 5, 2018
1 parent 9b50ca5 commit 588945c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion electrumpersonalserver/server/common.py
Expand Up @@ -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()
Expand Down Expand Up @@ -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")

0 comments on commit 588945c

Please sign in to comment.