sweep+itest: change MaxFeeRate to use SatPerVbyte
This commit is contained in:
1 parent
bea0ffdf81
commit
258fe7999b
4 files changed
+12
-12
No files matched your search
@@ -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
|
||||
)
|
||||
Reference in new issue
Block a user