Added daemon BC sync progress bar

depends on https://github.com/monero-project/monero/pull/1173

Signed-off-by: Jacob Brydolf <jacob@brydolf.net>
This commit is contained in:
Jacob Brydolf
2016-10-03 23:29:30 +02:00
committed by Ilya Kitaev
parent 6a50951940
commit af70c81082
6 changed files with 115 additions and 2 deletions

View File

@@ -221,6 +221,9 @@ ApplicationWindow {
if (splash.visible) {
hideProcessingSplash()
}
var dCurrentBlock = currentWallet.daemonBlockChainHeight();
var dTargetBlock = currentWallet.daemonBlockChainTargetHeight();
leftPanel.daemonProgress.updateProgress(dCurrentBlock,dTargetBlock);
// Store wallet after first refresh. To prevent broken wallet after a crash
// TODO: Move this to libwallet?
@@ -231,6 +234,7 @@ ApplicationWindow {
}
leftPanel.networkStatus.connected = currentWallet.connected
onWalletUpdate();
}
@@ -247,6 +251,7 @@ ApplicationWindow {
}
function walletsFound() {
var wallets = walletManager.findWallets(moneroAccountsDir);
if (wallets.length === 0) {