Skip to content

Commit 297896c

Browse files
committed
Mention the bitcoin-payment-instructions crate in docs
1 parent f9a7ccc commit 297896c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12508,6 +12508,9 @@ where
1250812508
/// implementing [`DNSResolverMessageHandler`]) directly to look up a URI and then delegate to
1250912509
/// your normal URI handling.
1251012510
///
12511+
/// Alternatively, the [`bitcoin-payment-instructions`] crate provides an implementation of
12512+
/// much of this logic, and may be useful to decode and resolve payment instructions generally.
12513+
///
1251112514
/// # Payment
1251212515
///
1251312516
/// The provided `payment_id` is used to ensure that only one invoice is paid for the request
@@ -12530,9 +12533,9 @@ where
1253012533
///
1253112534
/// [BIP 353]: https://github.com/bitcoin/bips/blob/master/bip-0353.mediawiki
1253212535
/// [bLIP 32]: https://github.com/lightning/blips/blob/master/blip-0032.md
12533-
/// [`Bolt12Invoice::payment_paths`]: crate::offers::invoice::Bolt12Invoice::payment_paths
1253412536
/// [`OMNameResolver::resolve_name`]: crate::onion_message::dns_resolution::OMNameResolver::resolve_name
1253512537
/// [`OMNameResolver::handle_dnssec_proof_for_uri`]: crate::onion_message::dns_resolution::OMNameResolver::handle_dnssec_proof_for_uri
12538+
/// [`bitcoin-payment-instructions`]: https://docs.rs/bitcoin-payment-instructions/
1253612539
/// [Avoiding Duplicate Payments]: #avoiding-duplicate-payments
1253712540
/// [`BlindedMessagePath`]: crate::blinded_path::message::BlindedMessagePath
1253812541
/// [`PaymentFailureReason::UserAbandoned`]: crate::events::PaymentFailureReason::UserAbandoned

0 commit comments

Comments
 (0)