Rusty Russell [ARCHIVE] on Nostr: 📅 Original date posted:2021-04-24 📝 Original message: Joost Jager <joost.jager ...
📅 Original date posted:2021-04-24
📝 Original message:
Joost Jager <joost.jager at gmail.com> writes:
>>
>> But Joost pointed out that you need to know the node_id of the next node
>> though: this isn't quite true, since if the node_id is wrong the spec
>> says you should send an `update_fail_malformed_htlc` with failure code
>> invalid_onion_hmac, which node N turns into its own failure message.
>> Perhaps it should convert it to `unknown_next_peer` instead? This isn't
>> a common error on the modern network; I think our onion implementations
>> have been rock solid.
>>
>
> Isn't this what I am suggesting here?
>
https://twitter.com/joostjgr/status/1385150318959341569Oops, I didn't read the second part of your tweet properly.
Sorry: this was right there indeed.
Thanks!
Rusty.
Published at
2023-06-09 13:02:24Event JSON
{
"id": "89fe85033e49e8d2dedb8ed94d99f0dcbcc588c93a057a3598ffc7f3457140e6",
"pubkey": "13bd8c1c5e3b3508a07c92598647160b11ab0deef4c452098e223e443c1ca425",
"created_at": 1686315744,
"kind": 1,
"tags": [
[
"e",
"e74154b9d738dd3de8bd4bed8eec44a2d688e33c01fb8949a1636811c5f23fe8",
"",
"root"
],
[
"e",
"bbaa44f0e8a437818afb297c131a13bb5494691dcab66a746ab4f78c82376406",
"",
"reply"
],
[
"p",
"ec3fb08b335b94aace30d13181f2ad0280df9bc34f1a99832c4e2da8fb125eb3"
]
],
"content": "📅 Original date posted:2021-04-24\n📝 Original message:\nJoost Jager \u003cjoost.jager at gmail.com\u003e writes:\n\u003e\u003e\n\u003e\u003e But Joost pointed out that you need to know the node_id of the next node\n\u003e\u003e though: this isn't quite true, since if the node_id is wrong the spec\n\u003e\u003e says you should send an `update_fail_malformed_htlc` with failure code\n\u003e\u003e invalid_onion_hmac, which node N turns into its own failure message.\n\u003e\u003e Perhaps it should convert it to `unknown_next_peer` instead? This isn't\n\u003e\u003e a common error on the modern network; I think our onion implementations\n\u003e\u003e have been rock solid.\n\u003e\u003e\n\u003e\n\u003e Isn't this what I am suggesting here?\n\u003e https://twitter.com/joostjgr/status/1385150318959341569\n\nOops, I didn't read the second part of your tweet properly.\n\nSorry: this was right there indeed.\n\nThanks!\nRusty.",
"sig": "4f63c7d3de88c1bdeb50273ce70583a268ddf2c6e02f0cc54a409f3eb3369b3b55f4b8aff7f5a07d826980693a87275d181ac9f844d3704e0fe3a74a2846fd87"
}