This will display progress of the blockchain rescan in the debug.log.
Rescanning progress #3696
pull rebroad wants to merge 2 commits into bitcoin:master from rebroad:RescanningProgress changing 2 files +9 −2-
rebroad commented at 1:12 AM on February 18, 2014: contributor
-
laanwj commented at 10:01 AM on February 18, 2014: member
Haven't tested yet but code changes look OK.
-
Display progress of rescan. 75b8953a2c
-
Add progress to initial display of latest block downloaded. c4656e0d88
-
rebroad commented at 2:26 AM on February 20, 2014: contributor
I just added an extra commit so that the highest progress so far reached is shown before the progress updates during the rescan, so that one can see when it's about to reach the end (i.e. progress not necessarily 100%) - the other option is that I divide the progress shown by the final progress possible so that it reaches 100% when it's finished the rescan - this would be better if this progress percentage is shown as part of the splash screen. I'd like some help regarding showing this in the splash screen - i.e. how can I display a variable as part of the message? If anyone can let me know, I'll code this in also.
-
BitcoinPullTester commented at 2:51 AM on February 20, 2014: none
Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/c4656e0d888703b774e1fd889fff4696113c117c for binaries and test log. This test script verifies pulls every time they are updated. It, however, dies sometimes and fails to test properly. If you are waiting on a test, please check timestamps to verify that the test.log is moving at http://jenkins.bluematt.me/pull-tester/current/ Contact BlueMatt on freenode if something looks broken.
-
laanwj commented at 10:20 AM on March 7, 2014: member
Works for me.
2014-03-07 10:13:18 Rescanning last 289346 blocks (from block 0)... 2014-03-07 10:14:18 Still rescanning. At block 192891. Progress=0.118713 2014-03-07 10:15:18 Still rescanning. At block 216887. Progress=0.233355 2014-03-07 10:16:18 Still rescanning. At block 232760. Progress=0.343159 2014-03-07 10:17:18 Still rescanning. At block 252017. Progress=0.454787 2014-03-07 10:18:18 Still rescanning. At block 270667. Progress=0.567716 2014-03-07 10:19:18 Still rescanning. At block 284750. Progress=0.831589 2014-03-07 10:19:43 rescan 384545ms -
sipa commented at 2:54 PM on March 10, 2014: member
ACK
- laanwj referenced this in commit 1264b3647d on Mar 11, 2014
- laanwj merged this on Mar 11, 2014
- laanwj closed this on Mar 11, 2014
- DrahtBot locked this on Sep 8, 2021