diff --git a/backend/src/api/mempool.ts b/backend/src/api/mempool.ts index d847eb048..143db95f7 100644 --- a/backend/src/api/mempool.ts +++ b/backend/src/api/mempool.ts @@ -125,7 +125,7 @@ class Mempool { } // Prevent mempool from clear on bitcoind restart by delaying the deletion - if (this.mempoolProtection === 0 && transactions.length < currentMempoolSize / 2) { + if (this.mempoolProtection === 0 && transactions.length / currentMempoolSize <= 0.80) { this.mempoolProtection = 1; this.inSync = false; console.log('Mempool clear protection triggered.'); diff --git a/frontend/src/app/components/blockchain-blocks/blockchain-blocks.component.ts b/frontend/src/app/components/blockchain-blocks/blockchain-blocks.component.ts index 1b0791579..2eca3e2c5 100644 --- a/frontend/src/app/components/blockchain-blocks/blockchain-blocks.component.ts +++ b/frontend/src/app/components/blockchain-blocks/blockchain-blocks.component.ts @@ -50,7 +50,7 @@ export class BlockchainBlocksComponent implements OnInit, OnDestroy { if (!refilling && !this.tabHidden) { // setTimeout(() => this.audioService.playSound('bright-harmony')); - block.stage = block.matchRate >= 80 ? 1 : 2; + block.stage = block.matchRate >= 66 ? 1 : 2; } if (txConfirmed) {