sweep+itest: change MaxFeeRate to use SatPerVbyte

This commit is contained in:
yyforyongyu
2023-07-26 11:04:04 +02:00
committed by Olaoluwa Osuntokun
parent bea0ffdf81
commit 258fe7999b
4 changed files with 12 additions and 12 deletions

View File

@@ -2,6 +2,8 @@ package sweep
import (
"time"
"github.com/lightningnetwork/lnd/lnwallet/chainfee"
)
var (
@@ -9,4 +11,9 @@ var (
// window. The sweep is held back during the batch window to allow more
// inputs to be added and thereby lower the fee per input.
DefaultBatchWindowDuration = 30 * time.Second
// DefaultMaxFeeRate is the default maximum fee rate allowed within the
// UtxoSweeper. The current value is equivalent to a fee rate of 1,000
// sat/vbyte.
DefaultMaxFeeRate chainfee.SatPerVByte = 1e3
)