Skip to content

Drop ChannelManager-built-in BIP 353 resolution logic#4539

Merged
tnull merged 1 commit intolightningdevkit:mainfrom
TheBlueMatt:2026-04-drop-native-dns
Apr 3, 2026
Merged

Drop ChannelManager-built-in BIP 353 resolution logic#4539
tnull merged 1 commit intolightningdevkit:mainfrom
TheBlueMatt:2026-04-drop-native-dns

Conversation

@TheBlueMatt
Copy link
Copy Markdown
Collaborator

Since we shipped the bitcoin-payment-instructions crate we generally expect downstream code to use that rather than doing BIP 353 DNS resolutions over onion messages directly from the ChannelManager. Thus, in 0.2 we marked
pay_for_offer_from_human_readable_name deprecated and here remove it in favor of explicit references to the
bitcoin-payment-instructions crate in documentation.

@TheBlueMatt TheBlueMatt added this to the 0.3 milestone Apr 3, 2026
@ldk-reviews-bot
Copy link
Copy Markdown

ldk-reviews-bot commented Apr 3, 2026

I've assigned @wpaulino as a reviewer!
I'll wait for their review and will help manage the review process.
Once they submit their review, I'll check if a second reviewer would be helpful.

Since we shipped the `bitcoin-payment-instructions` crate we
generally expect downstream code to use that rather than doing
BIP 353 DNS resolutions over onion messages directly from the
`ChannelManager`. Thus, in 0.2 we marked
`pay_for_offer_from_human_readable_name` deprecated and here remove
it in favor of explicit references to the
`bitcoin-payment-instructions` crate in documentation.
@TheBlueMatt TheBlueMatt force-pushed the 2026-04-drop-native-dns branch from 77382df to 884158d Compare April 3, 2026 00:50
@ldk-claude-review-bot
Copy link
Copy Markdown
Collaborator

ldk-claude-review-bot commented Apr 3, 2026

The remaining test (resolution_test) is self-contained and doesn't reference any removed code. Everything is clean.

No issues found.

The PR is a straightforward removal of deprecated ChannelManager-built-in BIP 353 resolution logic. All removed code paths have no remaining references, the AwaitingOffer enum variant is correctly preserved for deserialization backward compatibility, and the type aliases are properly unified. No bugs, security issues, or logic errors detected.

@ldk-reviews-bot ldk-reviews-bot requested a review from wpaulino April 3, 2026 00:55
@tnull tnull merged commit a4c06d3 into lightningdevkit:main Apr 3, 2026
20 of 22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants