]> git.bitcoin.ninja Git - rust-lightning/commit
Replace `opt_anchors` with `ChannelTypeFeatures`
authorArik Sosman <git@arik.io>
Mon, 19 Jun 2023 17:30:34 +0000 (10:30 -0700)
committerArik Sosman <git@arik.io>
Fri, 23 Jun 2023 17:37:14 +0000 (10:37 -0700)
commit1d9a70952958bc02f426f1a04a1cfcc4bc6b0cff
tree46ba06955240b42e78bffbe1e70190ccccdc9898
parent970b174e9003594a455da6b492390cd739ab4434
Replace `opt_anchors` with `ChannelTypeFeatures`

This change modifies six structs that were keeping
track of anchors features with an `opt_anchors` field,
as well as another field keeping track of nonzero-fee-
anchor-support.
lightning/src/chain/channelmonitor.rs
lightning/src/chain/onchaintx.rs
lightning/src/chain/package.rs
lightning/src/events/bump_transaction.rs
lightning/src/ln/chan_utils.rs
lightning/src/ln/channel.rs
lightning/src/ln/functional_test_utils.rs
lightning/src/ln/functional_tests.rs
lightning/src/ln/monitor_tests.rs
lightning/src/sign/mod.rs
lightning/src/util/enforcing_trait_impls.rs