Display network logo in the top bar.

Allow search for block height.
Hide empty bisq blocks.
This commit is contained in:
softsimon
2020-07-13 23:22:24 +07:00
parent 432fb9cd66
commit 87abfc38cb
9 changed files with 38 additions and 10 deletions

View File

@@ -107,7 +107,7 @@ class Bisq {
console.log('Loading Bisq data from dump...');
const data: BisqBlocks = JSON.parse(cacheData);
if (data.blocks && data.blocks.length !== this.blocks.length) {
this.blocks = data.blocks;
this.blocks = data.blocks.filter((block) => block.txs.length > 0);
this.blocks.reverse();
const time = new Date().getTime() - start;
console.log('Bisq dump loaded in ' + time + ' ms');