From 60a44c3f53db4a56bfaa73773f97111766fdae6d Mon Sep 17 00:00:00 2001 From: yyforyongyu Date: Wed, 12 Jul 2023 21:22:20 +0800 Subject: [PATCH] sweep: lower the max allowed fee rate for sweeping inputs This commit changes the DefaultMaxFeeRate from 10,120 sat/vb to 1,000 sat/vb. --- sweep/sweeper.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sweep/sweeper.go b/sweep/sweeper.go index 9de13592f..2d4502a82 100644 --- a/sweep/sweeper.go +++ b/sweep/sweeper.go @@ -22,9 +22,9 @@ import ( const ( // DefaultMaxFeeRate is the default maximum fee rate allowed within the - // UtxoSweeper. The current value is equivalent to a fee rate of 10,000 + // UtxoSweeper. The current value is equivalent to a fee rate of 1,000 // sat/vbyte. - DefaultMaxFeeRate = chainfee.FeePerKwFloor * 1e4 + DefaultMaxFeeRate = chainfee.AbsoluteFeePerKwFloor * 1e3 // DefaultFeeRateBucketSize is the default size of fee rate buckets // we'll use when clustering inputs into buckets with similar fee rates