multi: enhance logging for debugging peer connection

This commit is contained in:
yyforyongyu
2021-12-13 03:56:20 +08:00
parent 5d9b59ac5a
commit 46050fc631
7 changed files with 42 additions and 20 deletions

View File

@@ -158,6 +158,7 @@ func (c *ChannelGraphBootstrapper) SampleNodeAddrs(numAddrs uint32,
// We'll merge the ignore map with our currently selected map in order
// to ensure we don't return any duplicate nodes.
for n := range ignore {
log.Tracef("Ignored node %x for bootstrapping", n)
c.tried[n] = struct{}{}
}