mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 09:53:54 +01:00
pilot+discovery: remove info spews
This commit is contained in:
parent
701244012a
commit
e2a53f71d0
@ -2010,8 +2010,8 @@ func (d *AuthenticatedGossiper) processNetworkAnnouncement(
|
||||
prefix = "remote"
|
||||
}
|
||||
|
||||
log.Infof("Received new %v channel announcement: %v", prefix,
|
||||
spew.Sdump(msg))
|
||||
log.Infof("Received new %v channel announcement for %v", prefix,
|
||||
msg.ShortChannelID)
|
||||
|
||||
// By the specification, channel announcement proofs should be
|
||||
// sent after some number of confirmations after channel was
|
||||
|
6
pilot.go
6
pilot.go
@ -8,7 +8,6 @@ import (
|
||||
"github.com/btcsuite/btcd/btcec"
|
||||
"github.com/btcsuite/btcd/wire"
|
||||
"github.com/btcsuite/btcutil"
|
||||
"github.com/davecgh/go-spew/spew"
|
||||
"github.com/lightningnetwork/lnd/autopilot"
|
||||
"github.com/lightningnetwork/lnd/lnwire"
|
||||
"github.com/lightningnetwork/lnd/tor"
|
||||
@ -142,7 +141,10 @@ var _ autopilot.ChannelController = (*chanController)(nil)
|
||||
// and all interfaces needed to drive it won't be launched before the Manager's
|
||||
// StartAgent method is called.
|
||||
func initAutoPilot(svr *server, cfg *autoPilotConfig) (*autopilot.ManagerCfg, error) {
|
||||
atplLog.Infof("Instantiating autopilot with cfg: %v", spew.Sdump(cfg))
|
||||
atplLog.Infof("Instantiating autopilot with max_channels=%d, "+
|
||||
"allocation=%f, min_chan_size=%d, max_chan_size=%d, "+
|
||||
"private=%t, min_confs=%d, conf_target=%d", cfg.MaxChannels,
|
||||
cfg.MinChannelSize, cfg.Private, cfg.MinConfs, cfg.ConfTarget)
|
||||
|
||||
// Set up the constraints the autopilot heuristics must adhere to.
|
||||
atplConstraints := autopilot.NewConstraints(
|
||||
|
Loading…
Reference in New Issue
Block a user