From f2a74e4c72cbadaa262cc7f70b53c29b6405f578 Mon Sep 17 00:00:00 2001 From: Jan <125610144+Jongjan88@users.noreply.github.com> Date: Wed, 21 Feb 2024 00:25:57 +0100 Subject: [PATCH 1/2] Update fees.h validation.h Line Number: 73 DEFAULT_MIN_RELAY_TX_FEE = 100000; --- src/policy/fees.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/policy/fees.h b/src/policy/fees.h index d4465e6b49..b6311f892d 100644 --- a/src/policy/fees.h +++ b/src/policy/fees.h @@ -170,8 +170,8 @@ class CBlockPolicyEstimator * invalidates old estimates files. So leave it at 1000 unless it becomes * necessary to lower it, and then lower it substantially. */ - static constexpr double MIN_BUCKET_FEERATE = 1000; - static constexpr double MAX_BUCKET_FEERATE = 1e7; + static constexpr double MIN_BUCKET_FEERATE = 1e5; + static constexpr double MAX_BUCKET_FEERATE = 1e10; /** Spacing of FeeRate buckets * We have to lump transactions into buckets based on feerate, but we want to be able @@ -273,7 +273,7 @@ class CBlockPolicyEstimator class FeeFilterRounder { private: - static constexpr double MAX_FILTER_FEERATE = 1e7; + static constexpr double MAX_FILTER_FEERATE = 1e10; /** FEE_FILTER_SPACING is just used to provide some quantization of fee * filter results. Historically it reused FEE_SPACING, but it is completely * unrelated, and was made a separate constant so the two concepts are not From 72c49e4f70d5e81aa33e0331aab1dd1611ea8791 Mon Sep 17 00:00:00 2001 From: Jan <125610144+Jongjan88@users.noreply.github.com> Date: Wed, 21 Feb 2024 00:35:55 +0100 Subject: [PATCH 2/2] CAmount GetFeePerK 100000 --- src/policy/feerate.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/policy/feerate.h b/src/policy/feerate.h index 2bd16ddbbf..b2648e9f66 100644 --- a/src/policy/feerate.h +++ b/src/policy/feerate.h @@ -55,7 +55,7 @@ class CFeeRate /** * Return the fee in satoshis for a size of 1000 bytes */ - CAmount GetFeePerK() const { return GetFee(1000); } + CAmount GetFeePerK() const { return GetFee(100000); } friend bool operator<(const CFeeRate& a, const CFeeRate& b) { return a.nSatoshisPerK < b.nSatoshisPerK; } friend bool operator>(const CFeeRate& a, const CFeeRate& b) { return a.nSatoshisPerK > b.nSatoshisPerK; } friend bool operator==(const CFeeRate& a, const CFeeRate& b) { return a.nSatoshisPerK == b.nSatoshisPerK; }