Benjamin Weintraub [ARCHIVE] on Nostr: 📅 Original date posted:2022-02-15 📝 Original message: Hi all, I have a couple ...
📅 Original date posted:2022-02-15
📝 Original message:
Hi all,
I have a couple questions about the Normal Operation protocol. For the following, consider a single-hop payment between Alice and Bob over a single channel.
1) Multiple sources indicate that after Alice sends the `update_add_htlc`, she should then send the `commitment_signed`, but why is it important that she sends it first (before Bob)? As far as I understand, as long as she doesn't revoke the old state before Bob commits to the new state, there shouldn't be a problem. In that case, the order wouldn't matter---they could even send their commitments concurrently. So does the order matter?
2) After Bob sends the `update_fulfill_htlc`, both he and Alice exchange `commitment_signed` and `revoke_and_ack` messages again. Why is this necessary? After Alice receives the preimage, doesn't she have enough information to claim her funds (with the new state)?
Thanks!
Ben
--
Ben Weintraub
PhD Student
Khoury College of Computer Sciences
Northeastern University
https://ben-weintraub.com/-------------- next part --------------
An HTML attachment was scrubbed...
URL: <
http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20220215/ea3c951b/attachment.html>
Published at
2023-06-09 13:05:19Event JSON
{
"id": "86ad573ef984bdbc63ec116d2d906a85941bc8a3ec571b0fecf2ee311bdc243f",
"pubkey": "d4882e22a16e704c732cefa159b483395bb032c66c58d9eb33c4f4fba84216c0",
"created_at": 1686315919,
"kind": 1,
"tags": [
[
"e",
"223fc843973a33826549b93ae8c797bcc390112d92dfc26d3a252c55fb388736",
"",
"reply"
],
[
"p",
"9456f7acb763eaab2e02bd8e60cf17df74f352c2ae579dce1f1dd25c95dd611c"
]
],
"content": "📅 Original date posted:2022-02-15\n📝 Original message:\nHi all,\n\nI have a couple questions about the Normal Operation protocol. For the following, consider a single-hop payment between Alice and Bob over a single channel.\n\n1) Multiple sources indicate that after Alice sends the `update_add_htlc`, she should then send the `commitment_signed`, but why is it important that she sends it first (before Bob)? As far as I understand, as long as she doesn't revoke the old state before Bob commits to the new state, there shouldn't be a problem. In that case, the order wouldn't matter---they could even send their commitments concurrently. So does the order matter?\n\n2) After Bob sends the `update_fulfill_htlc`, both he and Alice exchange `commitment_signed` and `revoke_and_ack` messages again. Why is this necessary? After Alice receives the preimage, doesn't she have enough information to claim her funds (with the new state)?\n\n\nThanks!\nBen\n\n--\nBen Weintraub\nPhD Student\nKhoury College of Computer Sciences\nNortheastern University\nhttps://ben-weintraub.com/\n\n-------------- next part --------------\nAn HTML attachment was scrubbed...\nURL: \u003chttp://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20220215/ea3c951b/attachment.html\u003e",
"sig": "f3dce6d6fd7f3a74a6887753875fe685f83b2d8d83dc38a1dd106b0374e0bab68f2ee92f6c3bd75524238db87b3be028e118e28055b37cb117d4ead32620e364"
}