mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-07-28 13:52:55 +02:00
multi: add new config option BudgetConfig
and NoDeadlineConfTarget
This commit adds a new group config `BudgetConfig` to allow users specifying their own preference when sweeping outputs. And a new config option `NoDeadlineConfTarget` is added in case the user wants to use a different "lazy" conf target.
This commit is contained in:
@@ -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"
|
||||
)
|
||||
|
||||
@@ -689,9 +688,7 @@ func DefaultConfig() Config {
|
||||
RemoteSigner: &lncfg.RemoteSigner{
|
||||
Timeout: lncfg.DefaultRemoteSignerRPCTimeout,
|
||||
},
|
||||
Sweeper: &lncfg.Sweeper{
|
||||
MaxFeeRate: sweep.DefaultMaxFeeRate,
|
||||
},
|
||||
Sweeper: lncfg.DefaultSweeperConfig(),
|
||||
Htlcswitch: &lncfg.Htlcswitch{
|
||||
MailboxDeliveryTimeout: htlcswitch.DefaultMailboxDeliveryTimeout,
|
||||
},
|
||||
|
Reference in New Issue
Block a user