Allow low fees
This commit basically disables the fee estimation logic. Currently this is not needed as tx traffic on FLO is relatively minor
This commit is contained in:
parent
bad3388cab
commit
5a300e785f
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user