Lack of capacity field in channel_announcement makes life difficult. Why is it not there?



Summary:

In a discussion between Christian Decker and Robert Olsson, the topic of including the exact fixed capacity in channel_announcement was brought up. Robert suggested adding htlc_maximum_msat to the channel_update as well, but Christian clarified that the focus was on adding the total channel capacity to the channel_announcement. This would eliminate the need for an on-chain lookup and is a reasonable idea since the channel's capacity is fixed for the existence of the channel. Christian also mentioned that tracking an internal UTXO set allows them to stop asking bitcoind for full blocks just to check a channel's capacity. Overall, including the channel capacity in the announcement would be beneficial for successful routing.


Updated on: 2023-05-25T01:54:33.231175+00:00