multi: deprecate batchwindowduration config option

This commit is contained in:
yyforyongyu
2024-01-31 14:06:47 +08:00
parent c03509397f
commit 465332f409
8 changed files with 9 additions and 32 deletions

View File

@@ -1,17 +1,10 @@
package sweep
import (
"time"
"github.com/lightningnetwork/lnd/lnwallet/chainfee"
)
var (
// DefaultBatchWindowDuration specifies duration of the sweep batch
// 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.