Skip to content

Commit 0c13a66

Browse files
committed
Mention the bitcoin-payment-instructions crate in docs
1 parent 5421938 commit 0c13a66

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
@@ -12538,6 +12538,9 @@ where
1253812538
/// implementing [`DNSResolverMessageHandler`]) directly to look up a URI and then delegate to
1253912539
/// your normal URI handling.
1254012540
///
12541+
/// Alternatively, the [`bitcoin-payment-instructions`] crate provides an implementation of
12542+
/// much of this logic, and may be useful to decode and resolve payment instructions generally.
12543+
///
1254112544
/// # Payment
1254212545
///
1254312546
/// The provided `payment_id` is used to ensure that only one invoice is paid for the request
@@ -12560,9 +12563,9 @@ where
1256012563
///
1256112564
/// [BIP 353]: https://github.com/bitcoin/bips/blob/master/bip-0353.mediawiki
1256212565
/// [bLIP 32]: https://github.com/lightning/blips/blob/master/blip-0032.md
12563-
/// [`Bolt12Invoice::payment_paths`]: crate::offers::invoice::Bolt12Invoice::payment_paths
1256412566
/// [`OMNameResolver::resolve_name`]: crate::onion_message::dns_resolution::OMNameResolver::resolve_name
1256512567
/// [`OMNameResolver::handle_dnssec_proof_for_uri`]: crate::onion_message::dns_resolution::OMNameResolver::handle_dnssec_proof_for_uri
12568+
/// [`bitcoin-payment-instructions`]: https://docs.rs/bitcoin-payment-instructions/
1256612569
/// [Avoiding Duplicate Payments]: #avoiding-duplicate-payments
1256712570
/// [`BlindedMessagePath`]: crate::blinded_path::message::BlindedMessagePath
1256812571
/// [`PaymentFailureReason::UserAbandoned`]: crate::events::PaymentFailureReason::UserAbandoned

0 commit comments

Comments
 (0)