]> git.bitcoin.ninja Git - rust-lightning/commit
Add an InvoiceReceived event
authorJeffrey Czyz <jkczyz@gmail.com>
Tue, 21 May 2024 19:33:56 +0000 (14:33 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Wed, 12 Jun 2024 20:24:08 +0000 (15:24 -0500)
commit4666c33c0f9918ec054ac9befbafe2c492551804
tree9cad22cafe578364614bb37f9653a71b4f662cd8
parent4c297c9a3ae72b4b2d4a041e80ad1608b58f4415
Add an InvoiceReceived event

Some users may want to handle a Bolt12Invoice asynchronously, either in
a different process or by first performing additional verification
before paying the invoice. Add an InvoiceReceived event to facilitate
this.
lightning/src/events/mod.rs