Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onionmessage forward fail notification #7903

Conversation

rustyrussell
Copy link
Contributor

Yes, it's the freeze. But this involved an API change and we're better off releasing with that. It's quite neat, too.

It's undocumented and only used in one place, so we can change it (it
was new in 24.08).

We really want to be able to just handle a raw onionmessage: this allows
oblivious sending of messages, but also, in combination with the coming
onionmessage_forward_fail notification, allows us to connect then
reinject.

Signed-off-by: Rusty Russell <[email protected]>
@rustyrussell rustyrussell added this to the v24.11 milestone Dec 5, 2024
@rustyrussell rustyrussell requested a review from cdecker as a code owner December 5, 2024 02:43
It's actually tested by fetchinvoice, but doing an explicit test in Python
allows for schema checking!

Signed-off-by: Rusty Russell <[email protected]>
Changelog-Changed: JSON-RPC: `injectonionmessage` API simplified and documented.
Changelog-Added: Plugins: new notification `onionmessage_forward_fail`.
Signed-off-by: Rusty Russell <[email protected]>
Doing exactly what we expect to do: initiate a connection and then
forward the message.

Signed-off-by: Rusty Russell <[email protected]>
@rustyrussell rustyrussell force-pushed the guilt/onionmessage_forward_fail-notif branch from 84f15fd to 67db24b Compare December 5, 2024 03:14
@rustyrussell rustyrussell merged commit f0c5ea2 into ElementsProject:master Dec 5, 2024
37 of 39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant