]> git.bitcoin.ninja Git - rust-lightning/commit
Add Features::set_{required|optional}_custom_bit
authorJeffrey Czyz <jkczyz@gmail.com>
Wed, 19 Apr 2023 20:14:13 +0000 (15:14 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Wed, 10 May 2023 19:05:00 +0000 (14:05 -0500)
commit883908c2926f97a33140e65cb0b4adaabd743f5e
tree43c48d708de392a9997a305915dd7c664441bd69
parent3ce87a3ddb59553c0c8ef44ab0d7960c7f63f697
Add Features::set_{required|optional}_custom_bit

Custom message handlers may need to set feature bits that are unknown to
LDK. Provide Features::set_required_custom_bit and
Features::set_optional_custom_bit to allow for this.
lightning/src/ln/features.rs