Rusty Russell on Nostr: You should seriously consider this. Annoying as it is to throw away working code, ...
You should seriously consider this. Annoying as it is to throw away working code, this code is *annoying* in a way few things in the specs are.
I really wish there was a way to use partial onions for this instead, but I can't make it work with the addition of the payload at the end (and you'd have to use exact values down each path, but that's probably ok).
Even my new code doesn't do padding, delaying, dummy hops or fake node IDs like everyone would like. That will probably be in 24.11...
Published at
2024-07-06 23:08:23Event JSON
{
"id": "c0660d492ea85d03428fe26916b17d8e0ecf7d6dda0fc8d8599704d90ca1848a",
"pubkey": "f1725586a402c06aec818d1478a45aaa0dc16c7a9c4869d97c350336d16f8e43",
"created_at": 1720307303,
"kind": 1,
"tags": [
[
"e",
"1a9ecb1edf0c40cda5a1f47aa1633e961d956ee30e5c80ded7edab554a532843",
"",
"root"
],
[
"e",
"24a1e2e43231574a92779f0bdb7475e70541e76a67f9c9ced06f40a44efb94ed"
],
[
"e",
"d7fe00d280666118848b7befce156c88a190c8a25789e6674dfd0e14d4f0bc8d",
"",
"reply"
],
[
"p",
"f1725586a402c06aec818d1478a45aaa0dc16c7a9c4869d97c350336d16f8e43"
],
[
"p",
"9e4954853fca260cecf983f098e5204c68b2bdfebde91f1f7b25c10b566d50f8"
],
[
"p",
"3d2e51508699f98f0f2bdbe7a45b673c687fe6420f466dc296d90b908d51d594"
]
],
"content": "You should seriously consider this. Annoying as it is to throw away working code, this code is *annoying* in a way few things in the specs are. \n\nI really wish there was a way to use partial onions for this instead, but I can't make it work with the addition of the payload at the end (and you'd have to use exact values down each path, but that's probably ok).\n\nEven my new code doesn't do padding, delaying, dummy hops or fake node IDs like everyone would like. That will probably be in 24.11...",
"sig": "6649ad66f3afbef8ced5311fa821e56e9f08dd706d56cf19b5aa2572a29d05623aa4087dd2af051a36e22ea46f242c9f95e06e26bf858137dd42e157129d41ac"
}