Merge branch 'esplora'

* esplora:
  Adding optional Blockstream esplora backend support.
This commit is contained in:
Simon Lindh committed 2019-10-22 17:28:56 +08:00
commit ee7cbee372
12 files changed
+1361 -33

No files matched your search

@@ -22,6 +22,9 @@ export class BlockchainBlocksComponent implements OnInit, OnDestroy {
ngOnInit() {
this.blocksSubscription = this.memPoolService.blocks$
.subscribe((block) => {
if (this.blocks.some((b) => b.height === block.height)) {
return;
}
this.blocks.unshift(block);
this.blocks = this.blocks.slice(0, 8);
});