rust-lightning/lightning-invoice/src
Elias Rohrer 018908fe9e
Make event handling fallible
Previously, we would require our users to handle all events
successfully inline or panic will trying to do so. If they would exit
the `EventHandler` any other way we'd forget about the event and
wouldn't replay them after restart.

Here, we implement fallible event handling, allowing the user to return
`Err(())` which signals to our event providers they should abort event
processing and replay any unhandled events later (i.e., in the next
invocation).
2024-07-18 15:54:21 +02:00
..
de.rs Upgrade rust-bitcoin to 0.31 2024-05-30 18:35:29 +08:00
lib.rs Merge pull request #3185 from tnull/2024-07-clarify-max-description-length 2024-07-16 08:24:45 -07:00
payment.rs Move [u8; 32] wrapper types to a common module 2024-05-01 19:01:40 +00:00
ser.rs Upgrade rust-bitcoin to 0.31 2024-05-30 18:35:29 +08:00
tb.rs Pure import of lightning-invoice crate 2021-04-09 10:08:27 -04:00
utils.rs Make event handling fallible 2024-07-18 15:54:21 +02:00