Send mempool effective fee rate changes to frontend & apply

This commit is contained in:
Mononaut
2023-04-05 08:40:43 +09:00
parent 3d5c156776
commit 4c569c0ded
6 changed files with 21 additions and 6 deletions

View File

@@ -132,9 +132,9 @@ export class BlockOverviewGraphComponent implements AfterViewInit, OnDestroy, On
}
}
update(add: TransactionStripped[], remove: string[], direction: string = 'left', resetLayout: boolean = false): void {
update(add: TransactionStripped[], remove: string[], change: { txid: string, rate: number | undefined }[], direction: string = 'left', resetLayout: boolean = false): void {
if (this.scene) {
this.scene.update(add, remove, direction, resetLayout);
this.scene.update(add, remove, change, direction, resetLayout);
this.start();
}
}