Smarter update algorithm for projected block viz

This commit is contained in:
Mononaut
2022-05-31 18:00:40 +00:00
parent ce276e3a7d
commit 371fe8673c
5 changed files with 234 additions and 15 deletions

View File

@@ -124,7 +124,7 @@ export class MempoolBlockOverviewComponent implements OnInit, OnDestroy, OnChang
} else if (blockMined) {
this.scene.replace(Object.values(this.txViews), remove, 'right')
} else {
this.scene.replace(Object.values(this.txViews), remove, 'left')
this.scene.update(add, remove, 'left')
}
this.lastBlockHeight = this.stateService.latestBlockHeight