]> git.bitcoin.ninja Git - rust-lightning/commit
Define core::ops::BitOr for Features<T>
authorJeffrey Czyz <jkczyz@gmail.com>
Thu, 13 Apr 2023 18:06:14 +0000 (13:06 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Mon, 8 May 2023 15:18:47 +0000 (10:18 -0500)
commit687e587a73d53b58687cc79db28aa21f2908b7cc
tree6d5ce5e37108d9739c0e407f9bcceb275abca105
parent818dbdf7ab34a91a511b48f05b06d902dd5251d1
Define core::ops::BitOr for Features<T>

The `lightning-custom-message` crate will need access to Features::or in
order combine features of a composite handler. Expose this via a
core::ops::BitOr implementation.
lightning/src/ln/features.rs
lightning/src/ln/msgs.rs
lightning/src/ln/peer_handler.rs