rust-lightning/lightning
Jeffrey Czyz 840efd5334
Generalize CustomOnionMessageContents trait
Rename CustomOnionMessageContents to OnionMessageContents and use it as
a trait bound on messages passed to OnionMessenger methods. This allows
using the trait in an upcoming commit as a bound on the contents of
PendingOnionMessage.

Also, make ParsedOnionMessageContent implement OnionMessageContents so
that Payload can be bounded by OnionMessageContents directly, but used
when either reading a ParsedOnionMessageContent or writing a specific
type of OnionMessageContents (e.g., OffersMessage).
2023-10-18 18:15:05 -05:00
..
src Generalize CustomOnionMessageContents trait 2023-10-18 18:15:05 -05:00
Cargo.toml Bump crate versions to 0.0.117/invoice 0.25 2023-10-03 23:00:48 +00:00