]> git.bitcoin.ninja Git - rust-lightning/commit
Make RoutingMessageHandler a generic Deref instead of an Arc
authorMatt Corallo <git@bluematt.me>
Tue, 12 May 2020 17:31:20 +0000 (13:31 -0400)
committerMatt Corallo <git@bluematt.me>
Fri, 22 May 2020 18:28:13 +0000 (14:28 -0400)
commitfab5d7e0aeea24660b59bb7a1bf94c4dc33dc78b
tree631b6c056667016d32012ca36620a9a0cd21bdbd
parent6afda60d8898455a003e7e085e0b6f1c1277d8fa
Make RoutingMessageHandler a generic Deref instead of an Arc

We also update to use single idents when referencing the Deref=*
types since the automated code generator is pretty braindead.

This also moves some test utils out of peer_handler.rs and into
util::test_utils to standardize things a little bit, which we need
to concretize the PeerHandler types used in testing.
fuzz/src/full_stack.rs
lightning-net-tokio/src/lib.rs
lightning/src/ln/peer_handler.rs
lightning/src/util/test_utils.rs