]> git.bitcoin.ninja Git - rust-lightning/commit
Support OnionMessenger in functional_test_utils
authorJeffrey Czyz <jkczyz@gmail.com>
Fri, 27 Oct 2023 18:27:55 +0000 (13:27 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Tue, 16 Jan 2024 17:12:20 +0000 (11:12 -0600)
commit3b6d039f89b75758dda7c5aeedce5e79bbc0d5fa
tree9ec96e79bbed6c3f84be4b497523e2a0af5c27f0
parent8deac898ab7276ed633a8233e81ffef924b21e76
Support OnionMessenger in functional_test_utils

OnionMessenger is needed to write functional tests for ChannelManager's
OffersMessageHandler implementation. Also adds a TestMessageRouter,
which simply wraps DefaultMessageRouter for now.
lightning/src/ln/functional_test_utils.rs
lightning/src/ln/functional_tests.rs
lightning/src/onion_message/messenger.rs
lightning/src/routing/scoring.rs
lightning/src/sign/mod.rs
lightning/src/util/test_utils.rs