]> git.bitcoin.ninja Git - rust-lightning/commit
Log available liquidity on each channel when starting routefinding 2024-03-log-outbound-channels
authorMatt Corallo <git@bluematt.me>
Tue, 12 Mar 2024 14:29:45 +0000 (14:29 +0000)
committerMatt Corallo <git@bluematt.me>
Thu, 30 May 2024 15:11:07 +0000 (15:11 +0000)
commit136e89ebe6a74fc8c7bfba82fff4ce8a375e0e76
tree6bd84d97d175acc11239ab631f4b1e7a06a23337
parentdf0120809f3453aa4cfc6ca4d34bbedcc823928d
Log available liquidity on each channel when starting routefinding

One of the most common first-steps in troubleshooting routefinding
issues is we ask for the local channel state to determine what the
available HTLC bounds are. While we log first-hop channel details
when we decline to use them, this doesn't tell us if we have
missing channels, and thus here we log all first-hop channels at
the start.

We also take this opportunity to log the limits that were violated
any time we log that we're not using a channel, rather than only
when its a first-hop.
lightning/src/routing/router.rs