BOLTs: update which renames blinding terminology.

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 <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2024-10-15 02:33:49 +10:30
parent f944e03fca
commit dc18f3cd7b
40 changed files with 338 additions and 351 deletions

View File

@@ -270,10 +270,10 @@ static bool print_blindedpaths(const char *fieldname,
for (size_t i = 0; i < tal_count(paths); i++) {
struct onionmsg_hop **p = paths[i]->path;
printf("%s %zu/%zu: blinding %s ",
printf("%s %zu/%zu: first_path_key %s ",
fieldname,
i, tal_count(paths),
fmt_pubkey(tmpctx, &paths[i]->blinding));
fmt_pubkey(tmpctx, &paths[i]->first_path_key));
printf("first_node_id %s ",
fmt_sciddir_or_pubkey(tmpctx, &paths[i]->first_node_id));
printf("path ");