BOLT12: use point32 instead of pubkey32.

That's the modern BOLT12 term.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2021-10-08 09:24:42 +10:30
committed by Christian Decker
parent 51ed7557a1
commit 8f582e770c
27 changed files with 93 additions and 88 deletions

View File

@@ -14,7 +14,7 @@ struct lease_rates;
struct node_id;
struct preimage;
struct pubkey;
struct pubkey32;
struct point32;
struct secret;
struct short_channel_id;
struct short_channel_id_dir;
@@ -91,9 +91,9 @@ void json_add_pubkey(struct json_stream *response,
const struct pubkey *key);
/* '"fieldname" : "89abcdef..."' or "89abcdef..." if fieldname is NULL */
void json_add_pubkey32(struct json_stream *response,
void json_add_point32(struct json_stream *response,
const char *fieldname,
const struct pubkey32 *key);
const struct point32 *key);
/* '"fieldname" : "89abcdef..."' or "89abcdef..." if fieldname is NULL */
void json_add_bip340sig(struct json_stream *response,