multi: deprecate batchwindowduration config option

This commit is contained in:
yyforyongyu committed 2024-04-19 21:33:26 +08:00
1 parent c03509397f
commit 465332f409
8 files changed
+9 -32

No files matched your search

-7
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.