diff --git a/lib/mempool/fees.js b/lib/mempool/fees.js index 2023e408..03385b18 100644 --- a/lib/mempool/fees.js +++ b/lib/mempool/fees.js @@ -30,7 +30,7 @@ const SUFFICIENT_PRITXS = 0.2; const MIN_FEERATE = 10; const MAX_FEERATE = 1e6; /* 1e7 */ const INF_FEERATE = consensus.MAX_MONEY; -const MIN_PRIORITY = 10; +const MIN_PRIORITY = 1; const MAX_PRIORITY = 1e16; const INF_PRIORITY = 1e9 * consensus.MAX_MONEY; const FEE_SPACING = 1.1; @@ -566,7 +566,7 @@ class PolicyEstimator { item.blockHeight = height; item.bucketIndex = this.priStats.addTX(height, priority); this.map.set(hash, item); - } else if (this.isFeePoint(rate, priority)) { + } else if (rate >= this.minTrackedFee || this.isFeePoint(rate, priority)) { const item = new StatEntry(); item.blockHeight = height; item.bucketIndex = this.feeStats.addTX(height, rate);