Receiving via unpublished channels



Summary:

In a mailing list discussion regarding the implementation of support for `r` field in invoices, ZmnSCPxj explained that in order to receive via an unpublished channel, it is necessary to know the onLightning fees that the other side of the channel wants to charge. A solution to this problem was proposed by sending `channel_update` as soon as the channel is locked-in, regardless of whether it is published or unpublished. This idea was brought up for standardization by all LN implementations, lnd, eclair, ucoin, and lit. The temporary `channel_update` messages are sent after `funding_locked` has been sent by both sides or upon reconnection. However, if the channel is shutting down or has already achieved the announcement depth, then any fee updates would be pointless. C-lightning always sends the `channel_update`. Nayuta-ueno appreciated the response and intends to implement this like c-lightning to ptarmigan.


Updated on: 2023-05-24T23:41:25.763597+00:00