mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 01:43:16 +01:00
pilot: log whether autopilot is active at startup
This commit is contained in:
parent
0a9dc6aeb2
commit
c9c667bbf2
7
pilot.go
7
pilot.go
@ -141,9 +141,10 @@ var _ autopilot.ChannelController = (*chanController)(nil)
|
|||||||
func initAutoPilot(svr *server, cfg *autoPilotConfig, chainCfg *chainConfig) (
|
func initAutoPilot(svr *server, cfg *autoPilotConfig, chainCfg *chainConfig) (
|
||||||
*autopilot.ManagerCfg, error) {
|
*autopilot.ManagerCfg, error) {
|
||||||
|
|
||||||
atplLog.Infof("Instantiating autopilot with max_channels=%d, allocation=%f, "+
|
atplLog.Infof("Instantiating autopilot with active=%v, "+
|
||||||
"min_chan_size=%d, max_chan_size=%d, private=%t, min_confs=%d, "+
|
"max_channels=%d, allocation=%f, min_chan_size=%d, "+
|
||||||
"conf_target=%d", cfg.MaxChannels, cfg.Allocation, cfg.MinChannelSize,
|
"max_chan_size=%d, private=%t, min_confs=%d, conf_target=%d",
|
||||||
|
cfg.Active, cfg.MaxChannels, cfg.Allocation, cfg.MinChannelSize,
|
||||||
cfg.MaxChannelSize, cfg.Private, cfg.MinConfs, cfg.ConfTarget)
|
cfg.MaxChannelSize, cfg.Private, cfg.MinConfs, cfg.ConfTarget)
|
||||||
|
|
||||||
// Set up the constraints the autopilot heuristics must adhere to.
|
// Set up the constraints the autopilot heuristics must adhere to.
|
||||||
|
Loading…
Reference in New Issue
Block a user