Skip to content

Bump bitcoin-payment-instructions to bc7d03f (LNURL desc-hash relaxation)#21

Open
martinsaposnic wants to merge 1 commit into
masterfrom
bump-bpi-skip-desc-hash
Open

Bump bitcoin-payment-instructions to bc7d03f (LNURL desc-hash relaxation)#21
martinsaposnic wants to merge 1 commit into
masterfrom
bump-bpi-skip-desc-hash

Conversation

@martinsaposnic
Copy link
Copy Markdown
Contributor

Summary

One-line rev bump in Cargo.toml: bitcoin-payment-instructions from 6796e87 to bc7d03f.

bc7d03f carries one commit on top of 6796e87: moneydevkit/bitcoin-payment-instructions#2, which accepts LNURL-pay BOLT11 invoices with a plain d description tag instead of the LUD-06-required h = sha256(metadata).

Motivation

Required for mdkd's /pay-style endpoints to succeed against LNURL servers like bringin.xyz. Those servers mint BOLT11 invoices with d = "Topup <N> sats" and no h tag, which upstream bitcoin-payment-instructions (correctly per LUD-06) rejects with "BOLT 11 invoice resolved via LNURL must have a matching description hash". We accept anyway to match Strike's permissive behavior.

Companion PRs:

Heads up: still duplicated after this PR

This PR only bumps mdkd's direct bitcoin-payment-instructions dep. mdkd's ldk-node is pinned at rev c3aba2a4 on the lsp-0.7.0_socks-support branch, which still transitively pulls bitcoin-payment-instructions at the old rev 6796e87. cargo tree -d will still report two copies until a follow-up PR bumps the lsp-0.7.0_socks-support branch of ldk-node too.

Test plan

  • cargo check clean on this branch with the bump applied

Picks up moneydevkit/bitcoin-payment-instructions#2, which accepts
LNURL-pay BOLT11 invoices that ship a plain `d` description tag instead
of the LUD-06-required `h = sha256(metadata)`. Required for mdkd's
`pay`-style endpoints to succeed against LNURL servers like
bringin.xyz.

Note: mdkd's `ldk-node` pin (rev c3aba2a, branch
lsp-0.7.0_socks-support) transitively still pulls
bitcoin-payment-instructions at the old rev 6796e87. A follow-up PR to
bump that branch of ldk-node is needed for mdkd to fully dedup the
crate. Until then `cargo tree -d` will still show two copies.
@martinsaposnic martinsaposnic requested a review from amackillop May 18, 2026 17:45
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.

1 participant