Merge pull request #5960 from mempool/mononaut/sub-1-sat-audits

This commit is contained in:
wiz
2025-07-11 23:37:38 -10:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -55,7 +55,7 @@ class Audit {
} else if (mempool[txid]?.lastBoosted != null && (now - (mempool[txid]?.lastBoosted || 0)) <= PROPAGATION_MARGIN) {
// tx was recently cpfp'd, miner may not have the latest effective rate
fresh.push(txid);
} else {
} else if (mempool[txid].effectiveFeePerVsize >= 1) { // transactions paying < 1 sat/vbyte are never considered censored
isCensored[txid] = true;
}
displacedWeight += mempool[txid]?.weight || 0;

View File

@@ -600,7 +600,7 @@ export class BlockComponent implements OnInit, OnDestroy {
// set transaction statuses
for (const tx of blockAudit.template) {
tx.context = 'projected';
if (isCensored[tx.txid]) {
if (isCensored[tx.txid] && tx.rate >= 1) {
tx.status = 'censored';
} else if (inBlock[tx.txid]) {
tx.status = 'found';