Implement sending and receiving custom onion messages
authorValentine Wallace <vwallace@protonmail.com>
Tue, 18 Oct 2022 17:29:43 +0000 (13:29 -0400)
committerValentine Wallace <vwallace@protonmail.com>
Wed, 19 Oct 2022 20:06:58 +0000 (16:06 -0400)
commit7664957bc958217a98effda67428cc32f239e750
tree35044c3cc59e04caabe9f7caf4454245f750ab62
parentec538d181677bdd4a9dd7b29f619fff032fc2120
Implement sending and receiving custom onion messages

This uses the work done in the preceding commits to implement encoding a user's
custom TLV in outbound onion messages, and decoding custom TLVs in inbound
onion messages, to be provided to the new CustomOnionMessageHandler.
fuzz/src/onion_message.rs
lightning/src/onion_message/messenger.rs
lightning/src/onion_message/packet.rs