BOLTS: update which fixes BIP353 quotes, missing invreq field in invoices.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2025-03-12 09:28:08 +10:30
parent 2e81a40d77
commit e832784cba
5 changed files with 7 additions and 23 deletions

View File

@@ -1228,13 +1228,9 @@ static struct command_result *param_invreq(struct command *cmd,
int badf;
struct sha256 merkle, sighash;
/* FIXME: quote is garbled, see: https://github.com/lightning/bolts/pull/1222 */
/* BOLT #12:
* - if `invreq_chain` is not present:
* - MUST reject the invoice request if bitcoin is not a supported chain.
* - if `invreq_bip_353_name` is present:
* - MUST reject the invoice request if `name` or `domain` contain any bytes which are not
* `0`-`9`, `a`-`z`, `A`-`Z`, `-`, `_` or `.`.
* - otherwise:
* - MUST reject the invoice request if `invreq_chain`.`chain` is not a
* supported chain.