mirror of
https://github.com/mempool/mempool.git
synced 2025-01-17 18:52:34 +01:00
Use mempool clear protection feature also when in bitcoind mode.
fixes #335
This commit is contained in:
parent
5f6b7d94b1
commit
63b52b9d9b
@ -134,7 +134,6 @@ class Mempool {
|
||||
|
||||
// Prevent mempool from clear on bitcoind restart by delaying the deletion
|
||||
if (this.mempoolProtection === 0
|
||||
&& config.MEMPOOL.BACKEND === 'esplora'
|
||||
&& currentMempoolSize > 20000
|
||||
&& transactions.length / currentMempoolSize <= 0.80
|
||||
) {
|
||||
|
Loading…
Reference in New Issue
Block a user