multi: add debug logs for edge policy flow

This commit adds more logs around the ChannelUpdate->edge policy process
flow.
This commit is contained in:
yyforyongyu
2025-01-17 00:17:23 +08:00
parent e0a920af44
commit 001e5599b6
8 changed files with 43 additions and 10 deletions

View File

@ -1400,6 +1400,9 @@ func (b *Builder) processUpdate(msg interface{},
msg.ChannelID)
}
log.Debugf("Found edge1Timestamp=%v, edge2Timestamp=%v",
edge1Timestamp, edge2Timestamp)
// As edges are directional edge node has a unique policy for
// the direction of the edge they control. Therefore, we first
// check if we already have the most up-to-date information for