Normal operation questions [combined summary]



Individual post summaries: Click here to read the original discussion on the lightning-dev mailing list

Published on: 2022-02-17T00:15:05+00:00


Summary:

In response to Ben Weintraub's questions about the Normal Operation protocol, Olaoluwa Osuntokun explained that while it is not necessary for Alice to send the `commitment_signed` message immediately after adding a new HTLC, she may choose to delay her signature if she has other HTLCs she wants to add to the commitment transaction. This allows her to batch/pipeline updates to the channel. Concurrent signatures are not an issue, but they do generate additional state transitions for both parties to synchronize their locked-in HTLCs.Regarding the exchange of messages after Bob sends the `update_fulfill_htlc`, Osuntokun clarified that both Alice and Bob need to exchange `commitment_signed` and `revoke_and_ack` messages again to update their commitment state off-chain. This is necessary even though Bob is the one claiming the funds with the pre-image. The reason for this is that settling the HTLC off-chain is faster and less costly in terms of chain fees compared to going to chain. By exchanging these messages, both parties can update their commitment state without involving the blockchain.In a multi-hop scenario, once Alice receives the pre-image, she can choose to pipeline the pre-image back upstream in the route instead of waiting for the full exchange. This reduces perceived user latency for payments.


Updated on: 2023-08-01T00:08:18.183121+00:00