rust-lightning/lightning
Valentine Wallace 75fd0f3cbb
Parameterize OnionMessenger by new CustomOnionMessageHandler trait
OnionMessenger::new will now take a custom onion message handler trait
implementation. This handler will be used in upcoming commit(s) to handle
inbound custom onion messages.

The new trait also specifies what custom messages are supported via its
associated type, CustomMessage. This associated type must implement a new
CustomOnionMessagesContents trait, which requires custom messages to support
being written, being read, and supplying their TLV type.
2022-10-18 11:39:39 -04:00
..
src Parameterize OnionMessenger by new CustomOnionMessageHandler trait 2022-10-18 11:39:39 -04:00
Cargo.toml Downgrade hashbrown to meet MSRV 2022-09-22 15:06:42 +00:00