mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-07-01 11:00:51 +02:00
discovery+server: add more trace log
This commit is contained in:
@ -1293,7 +1293,8 @@ func (d *AuthenticatedGossiper) sendRemoteBatch(annBatch []msgWithSenders) {
|
|||||||
|
|
||||||
// We'll first attempt to filter out this new message for all peers
|
// We'll first attempt to filter out this new message for all peers
|
||||||
// that have active gossip syncers active.
|
// that have active gossip syncers active.
|
||||||
for _, syncer := range syncerPeers {
|
for pub, syncer := range syncerPeers {
|
||||||
|
log.Tracef("Sending messages batch to GossipSyncer(%x)", pub)
|
||||||
syncer.FilterGossipMsgs(annBatch...)
|
syncer.FilterGossipMsgs(annBatch...)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1251,6 +1251,8 @@ func (g *GossipSyncer) FilterGossipMsgs(msgs ...msgWithSenders) {
|
|||||||
// If the peer doesn't have an update horizon set, then we won't send
|
// If the peer doesn't have an update horizon set, then we won't send
|
||||||
// it any new update messages.
|
// it any new update messages.
|
||||||
if g.remoteUpdateHorizon == nil {
|
if g.remoteUpdateHorizon == nil {
|
||||||
|
log.Tracef("GossipSyncer(%x): skipped due to nil "+
|
||||||
|
"remoteUpdateHorizon", g.cfg.peerPub[:])
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3202,7 +3202,7 @@ func (s *server) BroadcastMessage(skips map[route.Vertex]struct{},
|
|||||||
for pubStr, sPeer := range s.peersByPub {
|
for pubStr, sPeer := range s.peersByPub {
|
||||||
if skips != nil {
|
if skips != nil {
|
||||||
if _, ok := skips[sPeer.PubKey()]; ok {
|
if _, ok := skips[sPeer.PubKey()]; ok {
|
||||||
srvrLog.Debugf("Skipping %x in broadcast with "+
|
srvrLog.Tracef("Skipping %x in broadcast with "+
|
||||||
"pubStr=%x", sPeer.PubKey(), pubStr)
|
"pubStr=%x", sPeer.PubKey(), pubStr)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user