]> git.bitcoin.ninja Git - rust-lightning/commit
Change `send_onion_message` to take a `MessageSendInstructions`
authorMatt Corallo <git@bluematt.me>
Thu, 22 Aug 2024 01:47:37 +0000 (01:47 +0000)
committerMatt Corallo <git@bluematt.me>
Thu, 22 Aug 2024 22:30:58 +0000 (22:30 +0000)
commit131ac4f5a86efa3dcfd860c64b2d863478c44900
tree0f9057e24b162ac13fa927f8e710fd2b9747278e
parent29990674ea96f6439481cc8d7730bb8dc5defd54
Change `send_onion_message` to take a `MessageSendInstructions`

This lets callers include a `reply_path` without doing the
path-finding at the callsite, utilizing the built-in path-finding
logic in `OnionMessenger`
lightning/src/onion_message/functional_tests.rs
lightning/src/onion_message/messenger.rs