fix audit highlightning and fee ranges

This commit is contained in:
Mononaut
2023-07-18 16:08:25 +09:00
parent 3838d947b1
commit 2a2aee21fb
6 changed files with 11 additions and 7 deletions

View File

@@ -347,6 +347,9 @@ export class BlockComponent implements OnInit, OnDestroy {
if (blockAudit?.template) {
for (const tx of blockAudit.template) {
inTemplate[tx.txid] = true;
if (tx.acc) {
isAccelerated[tx.txid] = true;
}
}
for (const tx of transactions) {
inBlock[tx.txid] = true;

View File

@@ -176,6 +176,7 @@ export interface TransactionStripped {
vsize: number;
value: number;
rate?: number; // effective fee rate
acc?: boolean;
status?: 'found' | 'missing' | 'sigop' | 'fresh' | 'freshcpfp' | 'added' | 'censored' | 'selected' | 'rbf' | 'accelerated';
context?: 'projected' | 'actual';
}