]> git.bitcoin.ninja Git - rust-lightning/commit
Add UserConfig::manually_handle_bolt12_invoices
authorJeffrey Czyz <jkczyz@gmail.com>
Tue, 21 May 2024 21:58:10 +0000 (16:58 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Thu, 13 Jun 2024 00:38:16 +0000 (19:38 -0500)
commita9dcfaf952584ed835d733cb4688d5f96e86349d
tree18de8758dddada9c819c32e48ce0257910dee3c6
parent4666c33c0f9918ec054ac9befbafe2c492551804
Add UserConfig::manually_handle_bolt12_invoices

BOLT12 invoices are automatically paid once they have been verified.
Users may want to manually pay them by first performing additional
checks. Add a manually_handle_bolt12_invoices configuration option that
when set generates an Event::InvoiceReceived instead of paying the
invoice.
fuzz/src/full_stack.rs
lightning/src/ln/channelmanager.rs
lightning/src/util/config.rs