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



Summary:

A proposal has been made by Robert Olsson to add an HTLC maximum value to channel_update, along with htlc_minimum_msat, which is already present. Christian responds by saying that this isn't about the maximum HTLC value, but rather adding the total channel capacity to the channel_announcement. He believes that it's a reasonable idea as it saves an on-chain lookup and since the channel's capacity is fixed for its existence, the announcement is the right place to put it. This was the main reason for tracking an internal UTXO set to stop asking bitcoind for full blocks just to check a channel's capacity.


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