Add block viz filter UI
This commit is contained in:
@@ -21,7 +21,6 @@ export class MempoolBlockComponent implements OnInit, OnDestroy {
|
||||
mempoolBlockTransactions$: Observable<TransactionStripped[]>;
|
||||
ordinal$: BehaviorSubject<string> = new BehaviorSubject('');
|
||||
previewTx: TransactionStripped | void;
|
||||
filterFlags: bigint | null = 0n;
|
||||
webGlEnabled: boolean;
|
||||
|
||||
constructor(
|
||||
@@ -35,7 +34,6 @@ export class MempoolBlockComponent implements OnInit, OnDestroy {
|
||||
}
|
||||
|
||||
ngOnInit(): void {
|
||||
window['setFlags'] = this.setFilterFlags.bind(this);
|
||||
this.websocketService.want(['blocks', 'mempool-blocks']);
|
||||
|
||||
this.mempoolBlock$ = this.route.paramMap
|
||||
@@ -92,11 +90,6 @@ export class MempoolBlockComponent implements OnInit, OnDestroy {
|
||||
setTxPreview(event: TransactionStripped | void): void {
|
||||
this.previewTx = event;
|
||||
}
|
||||
|
||||
setFilterFlags(flags: bigint | null) {
|
||||
this.filterFlags = flags;
|
||||
this.cd.markForCheck();
|
||||
}
|
||||
}
|
||||
|
||||
function detectWebGL() {
|
||||
|
||||
Reference in New Issue
Block a user