]> git.bitcoin.ninja Git - rust-lightning/commit
Add `peer_[dis]connected` to `CustomMessageHandler` trait
authorMatt Corallo <git@bluematt.me>
Fri, 13 Oct 2023 19:42:37 +0000 (19:42 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 18 Oct 2023 20:07:06 +0000 (20:07 +0000)
commitd758d7600ab913acb089ac23d8b2ddd280f6c9f4
tree6bcff6f7482181d653edf14a4f2d4f5f25df9a5d
parent4366369ef5ed9de7a01783bddb97732c6a1eea5f
Add `peer_[dis]connected` to `CustomMessageHandler` trait

There's not much reason not to have these methods on the
`CustomMessageHandler` trait, and they can be quite useful, so we
add them here.
lightning-custom-message/src/lib.rs
lightning/src/ln/peer_handler.rs