From e1aab46c6359fcabd77b8d3c2bddfc8045bd5cca Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Wed, 2 Oct 2024 16:46:57 +0000 Subject: [PATCH] Explicitly mention care around payment instruction expiry in 353 If someone puts a lightning BOLT 12 offer in a BIP 353 entry with the offer expiring before the DNS entry's TTL (plus now), they may get stuck being unpayable, so its worth explicitly mentioning that people should take care here. --- bip-0353.mediawiki | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bip-0353.mediawiki b/bip-0353.mediawiki index 9c48f9114..ef4b6c0ab 100644 --- a/bip-0353.mediawiki +++ b/bip-0353.mediawiki @@ -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.