Hacker News new | ask | show | jobs
by nullc 2361 days ago
That isn't so. You learn that a channel doesn't have enough capacity by attempting to use it, failing, then updating your knowledge and trying again. It typically takes something like 1.25 tries on average in the current network.

See Bolt 7:

> Note that the htlc_maximum_msat field is static in the current protocol over the life of the channel: it is not designed to be indicative of real-time channel capacity in each direction, which would be both a massive data leak and uselessly spam the network

https://github.com/lightningnetwork/lightning-rfc/blob/maste...

See also: https://bitcoin.stackexchange.com/a/80830