ui: Add indication when XMR node is bootstrapping

This commit is contained in:
tecnovert
2022-07-06 14:35:35 +02:00
parent 1b7550ff76
commit 868dc27d64
6 changed files with 69 additions and 71 deletions

View File

@@ -5271,6 +5271,11 @@ class BasicSwap(BaseApp):
'synced': '{0:.2f}'.format(round(blockchaininfo['verificationprogress'], 2)),
}
if 'known_block_count' in blockchaininfo:
rv['known_block_count'] = blockchaininfo['known_block_count']
if 'bootstrapping' in blockchaininfo:
rv['bootstrapping'] = blockchaininfo['bootstrapping']
return rv
except Exception as e:
self.log.warning('getWalletInfo failed with: %s', str(e))