Author: Rusty Russell 2021-07-05 06:38:42
Published on: 2021-07-05T06:38:42+00:00
In a discussion, ZmnSCPxj suggests that the BOLT should have a "rationale" section and proposes using "initiator" and "acceptor" instead of "funder" and "fundee" in light of dual-funding. Lisa has already created a patch for this. Rusty adds to the conversation by pointing out that the risks for the sender of an HTLC is that the channel never confirms, but ignores this risk because they can close onchain, and the risks for the receiver is that the channel never confirms, so the HTLC must not be resolved locally if the receiver already knows the preimage unless they trust their peer. However, Rusty notes that this misses an important case since single-sided funding is more common with dual-funding protocol. In such a case, if the peer hasn't contributed funds, then the user is in control and the channel is safe. If the peer has contributed funds, the user can send, as cancellation results in a free refund, and should not route incoming HTLCs unless they trust the peer.
Updated on: 2023-06-03T04:29:16.722762+00:00