forked from ElementsProject/lightning
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
common: remove support for pre v0.10.2 onionmessages.
Temporarily disable sendpay_blinding test which uses obsolete onionmsg; there's still some debate on the PR about how blinded HTLCs will work. Changelog-EXPERIMENTAL: onionmessage: removed support for v0.10.1 onion messages. Signed-off-by: Rusty Russell <[email protected]>
- Loading branch information
1 parent
166ee4b
commit b74848f
Showing
27 changed files
with
53 additions
and
1,271 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1514,13 +1514,12 @@ type prefix, since c-lightning does not know how to parse the message. | |
Because this is a chained hook, the daemon expects the result to be | ||
`{'result': 'continue'}`. It will fail if something else is returned. | ||
|
||
### `onion_message`, `onion_message_blinded` and `onion_message_ourpath` | ||
### `onion_message_blinded` and `onion_message_ourpath` | ||
|
||
**(WARNING: experimental-offers only)** | ||
|
||
These three hooks are almost identical, in that they are called when | ||
an onion message is received. The `onion_message` hook is only used | ||
for obsolete unblinded messages, and can be ignored for modern usage. | ||
These two hooks are almost identical, in that they are called when | ||
an onion message is received. | ||
|
||
`onion_message_blinded` is used for unsolicited messages (where the | ||
source knows that it is sending to this node), and | ||
|
@@ -1556,6 +1555,7 @@ The payload for a call follows this format: | |
All fields shown here are optional. | ||
|
||
We suggest just returning `{'result': 'continue'}`; any other result | ||
Signed-off-by: Rusty Russell <[email protected]> | ||
will cause the message not to be handed to any other hooks. | ||
|
||
## Bitcoin backend | ||
|
Oops, something went wrong.