+ /// Indicates an outbound payment we made succeeded (ie it made it all the way to its target
+ /// and we got back the payment preimage for it). payment_preimage serves as a payment receipt,
+ /// if you wish to have such a thing, you must store it somehow!
+ PaymentSent {
+ payment_preimage: [u8; 32],
+ },
+ /// Indicates an outbound payment we made failed. Probably some intermediary node dropped
+ /// something. You may wish to retry with a different route.
+ PaymentFailed {
+ payment_hash: [u8; 32],
+ },