mirror of
https://github.com/mempool/mempool.git
synced 2025-09-21 19:21:25 +02:00
Merge pull request #5960 from mempool/mononaut/sub-1-sat-audits
This commit is contained in:
@@ -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;
|
||||
|
@@ -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';
|
||||
|
Reference in New Issue
Block a user