Progress calc credit: @sipa
This PR will accomplish three things:
- Show the progress of the UTXO-db upgrade in the Qt splashscreen and in the debug log:
2017-06-23 07:49:55 Upgrading utxo-set database...2017-06-23 07:49:55 [0%]...[0%]...[13%]...[25%]...[39%]...[52%]...[63%]...[76%]...[90%]...[DONE].
- Allow to shutdown during the UTXO-db upgrade (ctrl-c, Qt quit)
- Allow to press
qin splash screen to shutdown.
Let me explain why keypress instead of buttons: The current splash screen is a drawn pixmap. Adding buttons there will require a complete re-design of the splashscreen (should be done once). It should be an auto-resizing QWidget as used in the other layout situations.
For getting a UTXO-upgrade abort into 0.15, this solution may be acceptable.