]> git.bitcoin.ninja Git - rust-lightning/commit
De-couple MessageRouter from Router
authorJeffrey Czyz <jkczyz@gmail.com>
Wed, 18 Sep 2024 17:40:48 +0000 (12:40 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Mon, 23 Sep 2024 03:22:01 +0000 (12:22 +0900)
commitcad09855bfce03c7b7a9eb2e8895ee8b2bf0cb99
tree7405f63dc9f70753bf7d5a6a7a4d19a413a99bf2
parentbde331fe94eb2855e020677a856cca6809100388
De-couple MessageRouter from Router

Now that ChannelManager is parameterized by both a MessageRouter and a
Router, Router implementations no longer need to implement
MessageRouter, too.
lightning/src/routing/router.rs
lightning/src/util/test_utils.rs