accumulator on Nostr: Great summary, but I wish I would've seen this before finishing my initial rough ...
Great summary, but I wish I would've seen this before finishing my initial rough implementation for #electrum last week :) Getting a full picture of the spec requires quite a lot of trawling through PRs and scattered snippets of pseudocode.
The concatenation of route to introduction point and the blinded path took some time to grasp, but the test vectors in the PR are a nice validation target to work towards.
How is CLN finding routes over the network to the target node/ introduction point? In Electrum we currently just use the channels from the channel graph as routing edges, but in theory this is not strictly needed. However you can't expect nodes to make new peer connections just to satisfy a onionmessage forward. There's currently about 445 nodes advertising support for onion messages, so the graph is not yet very traversible, and there may even be multiple disjointed subgraphs (need to check).
Next challenge for #electrum will be sending/receiving onion messages without a channel graph, over trampoline...
Published at
2024-07-03 07:17:29Event JSON
{
"id": "24a1e2e43231574a92779f0bdb7475e70541e76a67f9c9ced06f40a44efb94ed",
"pubkey": "9e4954853fca260cecf983f098e5204c68b2bdfebde91f1f7b25c10b566d50f8",
"created_at": 1719991049,
"kind": 1,
"tags": [
[
"e",
"1a9ecb1edf0c40cda5a1f47aa1633e961d956ee30e5c80ded7edab554a532843",
"",
"root"
],
[
"p",
"f1725586a402c06aec818d1478a45aaa0dc16c7a9c4869d97c350336d16f8e43"
],
[
"t",
"electrum"
]
],
"content": "Great summary, but I wish I would've seen this before finishing my initial rough implementation for #electrum last week :) Getting a full picture of the spec requires quite a lot of trawling through PRs and scattered snippets of pseudocode.\n\nThe concatenation of route to introduction point and the blinded path took some time to grasp, but the test vectors in the PR are a nice validation target to work towards.\n\nHow is CLN finding routes over the network to the target node/ introduction point? In Electrum we currently just use the channels from the channel graph as routing edges, but in theory this is not strictly needed. However you can't expect nodes to make new peer connections just to satisfy a onionmessage forward. There's currently about 445 nodes advertising support for onion messages, so the graph is not yet very traversible, and there may even be multiple disjointed subgraphs (need to check).\n\nNext challenge for #electrum will be sending/receiving onion messages without a channel graph, over trampoline...\n\n\n\n\n",
"sig": "591324a088cd74bd169d9d97e541a2dcd6a2f7d76f158179bd8c8c9e5532502a09d8aadb9cf20004df23ea5974819db0a6f47cba32f48abc3b95bbe26c240390"
}