]> git.bitcoin.ninja Git - rust-lightning/commit
Introduce LegacyChannelConfig to remain backwards compatible
authorWilmer Paulino <wilmer.paulino@gmail.com>
Thu, 9 Jun 2022 21:01:56 +0000 (14:01 -0700)
committerWilmer Paulino <wilmer.paulino@gmail.com>
Thu, 9 Jun 2022 23:18:15 +0000 (16:18 -0700)
commitec7ccf0415d665441d74edbc479fb9ad357c2751
tree18240e659e1210f33d5036bc9e224b260c834204
parent8027c2ff06c790016b1a9e1d67af065c44d2995d
Introduce LegacyChannelConfig to remain backwards compatible

ChannelConfig now has its static fields removed. We introduce a new
LegacyChannelConfig struct that maintains the serialization as
previously defined by ChannelConfig to remain backwards compatible with
clients running 0.0.107 and earlier.
lightning/src/ln/channel.rs
lightning/src/ln/functional_test_utils.rs
lightning/src/ln/payment_tests.rs
lightning/src/util/config.rs