Move the `CustomMessageHandler` into the `MessageHandler` struct
authorMatt Corallo <git@bluematt.me>
Sat, 29 Apr 2023 17:58:15 +0000 (17:58 +0000)
committerMatt Corallo <git@bluematt.me>
Sun, 30 Apr 2023 04:03:55 +0000 (04:03 +0000)
commit524981ddf4bae0da695bb40c650812dceeb4d408
tree3ecba14e5ef7b98cbb35252c63eefb2ad65781fd
parent0e8da588954abc32c2a341cedf888ee00f918183
Move the `CustomMessageHandler` into the `MessageHandler` struct

`PeerManager` takes a `MessageHandler` struct which contains all
the known message handlers for it to pass messages to. It then,
separately, takes a `CustomMessageHandler`. This makes no sense, we
should simply include the `CustomMessageHandler` in the
`MessageHandler` struct for consistency.
fuzz/src/full_stack.rs
lightning-background-processor/src/lib.rs
lightning-net-tokio/src/lib.rs
lightning/src/ln/peer_handler.rs