Merge pull request #8667 from lightningnetwork/elle-new-sweeper

Merge new sweeper branch to master
This commit is contained in:
Olaoluwa Osuntokun
2024-04-22 11:20:49 -07:00
committed by GitHub
109 changed files with 16548 additions and 5182 deletions

View File

@@ -42,7 +42,6 @@ import (
"github.com/lightningnetwork/lnd/lnwire"
"github.com/lightningnetwork/lnd/routing"
"github.com/lightningnetwork/lnd/signal"
"github.com/lightningnetwork/lnd/sweep"
"github.com/lightningnetwork/lnd/tor"
)
@@ -691,10 +690,7 @@ func DefaultConfig() Config {
RemoteSigner: &lncfg.RemoteSigner{
Timeout: lncfg.DefaultRemoteSignerRPCTimeout,
},
Sweeper: &lncfg.Sweeper{
BatchWindowDuration: sweep.DefaultBatchWindowDuration,
MaxFeeRate: sweep.DefaultMaxFeeRate,
},
Sweeper: lncfg.DefaultSweeperConfig(),
Htlcswitch: &lncfg.Htlcswitch{
MailboxDeliveryTimeout: htlcswitch.DefaultMailboxDeliveryTimeout,
},