rust-lightning/lightning/src/ln
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
..
chan_utils.rs Update HTLC script detection to check for anchor output variants 2022-09-13 10:58:32 -07:00
chanmon_update_fail_tests.rs Stop relying on the *Features::known method in functional tests 2022-09-14 20:09:35 +00:00
channel.rs Stop relying on *Features::known in channel{,manager}.rs 2022-09-14 20:09:35 +00:00
channelmanager.rs Remove done TODO 2022-09-26 11:20:50 +02:00
features.rs Assert that all defined features are in the known features set 2022-09-14 20:10:17 +00:00
functional_test_utils.rs Stop relying on *Features::known in functional test utils 2022-09-14 20:09:35 +00:00
functional_tests.rs Stop relying on the *Features::known method in functional tests 2022-09-14 20:09:35 +00:00
inbound_payment.rs Pass FinalOnionHopData to payment verify by reference, not clone 2022-05-02 09:37:23 -07:00
mod.rs Merge pull request #1503 from valentinewallace/2022-05-onion-msgs 2022-08-03 04:39:56 +00:00
monitor_tests.rs Stop relying on the *Features::known method in functional tests 2022-09-14 20:09:35 +00:00
msgs.rs Remove all remaining references to *Features::known 2022-09-14 20:09:36 +00:00
onion_route_tests.rs Move forward_htlcs into standalone lock 2022-09-18 23:13:56 +02:00
onion_utils.rs Correctly handle BADONION onion errors 2022-09-13 02:21:35 +00:00
payment_tests.rs Stop relying on the *Features::known method in functional tests 2022-09-14 20:09:35 +00:00
peer_channel_encryptor.rs Encrypt+MAC most P2P messages in-place 2022-09-12 18:06:52 +00:00
peer_handler.rs Parameterize OnionMessenger by new CustomOnionMessageHandler trait 2022-10-18 11:39:39 -04:00
priv_short_conf_tests.rs Stop relying on the *Features::known method in functional tests 2022-09-14 20:09:35 +00:00
reorg_tests.rs Stop relying on the *Features::known method in functional tests 2022-09-14 20:09:35 +00:00
script.rs Remove all remaining references to *Features::known 2022-09-14 20:09:36 +00:00
shutdown_tests.rs Stop relying on the *Features::known method in functional tests 2022-09-14 20:09:35 +00:00
wire.rs Add boilerplate for sending and receiving onion messages in PeerManager 2022-08-26 19:02:59 -04:00