]> git.bitcoin.ninja Git - rust-lightning/commit
Support paying BOLT 12 invoices
authorJeffrey Czyz <jkczyz@gmail.com>
Fri, 1 Sep 2023 19:01:24 +0000 (14:01 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Thu, 7 Sep 2023 21:55:22 +0000 (16:55 -0500)
commit4e3c031d5647bac1bdd5cbd9a2b20f1f9dec981c
tree77f9c214fca06230d7e0cf609f80da63eccdaf1f
parent2852e4cdef515d5e0a97340fdc45cd6f5651c384
Support paying BOLT 12 invoices

Add a send_payment_for_bolt12_invoice method to OutboundPayments for
initiating payment of a BOLT 12 invoice. This will be called from an
OffersMessageHandler, after which any retries are handled using the
Retryable logic.
lightning/src/ln/outbound_payment.rs