create separate service for short term tx & block caching

This commit is contained in:
Mononaut committed 2023-01-06 10:13:53 -06:00
1 parent b35fbbbbd9
commit 001d94dcef
9 files changed
+147 -30

No files matched your search

@@ -46,6 +46,11 @@ export class StartComponent implements OnInit, OnDestroy {
this.chainTip = height;
this.updatePages();
});
this.markBlockSubscription = this.stateService.markBlock$.subscribe((mark) => {
if (mark?.blockHeight != null) {
this.scrollToBlock(mark.blockHeight);
}
});
this.stateService.blocks$
.subscribe((blocks: any) => {
if (this.stateService.network !== '') {