Merge pull request #1672 from TheBlueMatt/2024-10-payment-expiry

Explicitly mention care around payment instruction expiry in 353
This commit is contained in:
Jon Atack 2024-10-02 11:09:20 -07:00 committed by GitHub
commit 758dfc9f55
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -46,6 +46,8 @@ User and domain names which are not expressible using standard printable ASCII M
Note that because resolvers are not required to support resolving non-ASCII identifiers, wallets SHOULD avoid using non-ASCII identifiers.
For payment instructions that have a built-in expiry time (e.g. Lightning BOLT 12 offers), care must be taken to ensure that the DNS records expire prior to the expiry of the payment instructions. Otherwise, senders may have payment instructions cached locally which have expired, preventing payment.
=== Resolution ===
Clients resolving Bitcoin payment instructions MUST ignore any TXT records at the same label which do not begin with (ignoring case) "bitcoin:". Resolvers encountering multiple "bitcoin:"-matching TXT records at the same label MUST treat the records as invalid and refuse to use any payment instructions therein.