mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-30 23:53:41 +02:00
sweep+itest: change MaxFeeRate
to use SatPerVbyte
This commit is contained in:
committed by
Olaoluwa Osuntokun
parent
bea0ffdf81
commit
258fe7999b
@@ -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