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:
9 files changed
+298
-20
No files matched your search
@@ -199,6 +199,9 @@ type ChainArbitratorConfig struct {
|
||||
|
||||
// HtlcNotifier is an interface that htlc events are sent to.
|
||||
HtlcNotifier HtlcNotifier
|
||||
|
||||
// Budget is the configured budget for the arbitrator.
|
||||
Budget BudgetConfig
|
||||
}
|
||||
|
||||
// ChainArbitrator is a sub-system that oversees the on-chain resolution of all
|
||||
@@ -497,7 +500,8 @@ func (c *ChainArbitrator) Start() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
log.Info("ChainArbitrator starting")
|
||||
log.Infof("ChainArbitrator starting with config: budget=[%v]",
|
||||
&c.cfg.Budget)
|
||||
|
||||
// First, we'll fetch all the channels that are still open, in order to
|
||||
// collect them within our set of active contracts.
|
||||
|
||||
Reference in new issue
Block a user