added/prioritized dual audit status

This commit is contained in:
Mononaut
2024-08-02 10:46:07 +00:00
parent b9334c93f5
commit d2b57c8d4f
6 changed files with 17 additions and 3 deletions

View File

@@ -603,7 +603,11 @@ export class BlockComponent implements OnInit, OnDestroy {
if (index === 0) {
tx.status = null;
} else if (isPrioritized[tx.txid]) {
tx.status = 'prioritized';
if (isAdded[tx.txid] || (blockAudit.version > 0 && isUnseen[tx.txid])) {
tx.status = 'added_prioritized';
} else {
tx.status = 'prioritized';
}
} else if (isAdded[tx.txid] && (blockAudit.version === 0 || isUnseen[tx.txid])) {
tx.status = 'added';
} else if (inTemplate[tx.txid]) {