Skip to content

Conversation

@rustyrussell
Copy link
Contributor

Mainly the changes for onion messages and blinded paths, but some other nice things in there too.

@rustyrussell rustyrussell added this to the v24.11 milestone Aug 16, 2024
@rustyrussell rustyrussell requested a review from cdecker as a code owner August 16, 2024 07:51
Copy link
Collaborator

@niftynei niftynei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cACK pending test run success

@rustyrussell rustyrussell force-pushed the guilt/bolt-updates-v24.11 branch from 2eeffcf to b4495b7 Compare September 19, 2024 07:11
@rustyrussell
Copy link
Contributor Author

Trivial rebase...

@rustyrussell rustyrussell force-pushed the guilt/bolt-updates-v24.11 branch 3 times, most recently from 63a5072 to 8642769 Compare September 20, 2024 03:39
@rustyrussell rustyrussell force-pushed the guilt/bolt-updates-v24.11 branch from 8642769 to 6a863fb Compare October 14, 2024 04:36
We build with this: it changes the blinded_path field to sciddir_or_pubkey.
But it wasn't committed, so if someone rebuilt the wire files they'd be wrong.

Signed-off-by: Rusty Russell <[email protected]>
This means we should support it by default.

Signed-off-by: Rusty Russell <[email protected]>
Changelog-Added: Protocol: `option_quiesce` enabled by default.
Changelog-Deprecated: Config: --experimental-quiesce: it's now the default.
…ions".

Not much difference for us.

Signed-off-by: Rusty Russell <[email protected]>
This is obsolete (since modern onions) and so removed from spec.
We should not set it, and don't need to handle it specially.

Signed-off-by: Rusty Russell <[email protected]>
No code changes, just catching up with the BOLT changes which rework our
blinded path terminology (for the better!).

Another patch will sweep the rest of our internal names, this tries only to
make things compile and fix up the BOLT quotes.

1. Inside payload: current_blinding_point -> current_path_key
2. Inside update_add_htlc TLV: blinding_point -> blinded_path
3. Inside blinded_path: blinding -> first_path_key
4. Inside onion_message: blinding -> path_key.
5. Inside encrypted_data_tlv: next_blinding_override -> next_path_key_override

Signed-off-by: Rusty Russell <[email protected]>
Changelog-Added: JSON-RPC: `decode` now used modern BOLT 4 language for blinded paths, `first_path_key`.
Changelog-Deprecated: JSON-RPC: `decode` `blinding` in blinded path: use `first_path_key`.
Changelog-Added: Plugins: `onion_message_recv` and `onion_message_recv_secret` hooks now used modern BOLT 4 language for blinded paths, `first_path_key`.
Changelog-Deprecated: JSON-RPC: `onion_message_recv` and `onion_message_recv_secret` hooks `blinding` in blinded path: use `first_path_key`.
It's not documented, and only used internally, so we don't need a deprecation
cycle.

Signed-off-by: Rusty Russell <[email protected]>
It's not documented, and only used internally, so we don't need a deprecation
cycle.

Signed-off-by: Rusty Russell <[email protected]>
Get with the modern nomenclature: the pubkey inside a blinded path is called
the `path_key` now.

Signed-off-by: Rusty Russell <[email protected]>
This is a significant rework, which lets us clarify a number of our
quotes.

Signed-off-by: Rusty Russell <[email protected]>
@rustyrussell rustyrussell force-pushed the guilt/bolt-updates-v24.11 branch from 6a863fb to edcae47 Compare October 14, 2024 23:25
@rustyrussell rustyrussell merged commit fe344ee into ElementsProject:master Oct 15, 2024
38 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.

2 participants