Improve logging for ignored candiate hops
authorElias Rohrer <dev@tnull.de>
Tue, 18 Jul 2023 11:23:20 +0000 (13:23 +0200)
committerElias Rohrer <dev@tnull.de>
Fri, 21 Jul 2023 18:28:47 +0000 (20:28 +0200)
commit1db53a9d734593860f89e6af87bb9e3f70758809
tree0abe88bdf6cc846d21edf45a12f460973a0c09ad
parent543c5bfe138aa176a7a6fc38aba8de20d11bbebc
Improve logging for ignored candiate hops

Previously, we barely gave any hints why we excluded certain hops during
pathfinding. Here, we introduce more verbose logging by a) accounting
how much candidates we ignored for which reasons and b) logging any
first/last/blinded hops we end up ignoring.

Fixes #1646.
lightning/src/routing/router.rs