]> git.bitcoin.ninja Git - rust-lightning/commit
Move announced_channel to ChannelHandshakeConfig
authorWilmer Paulino <wilmer.paulino@gmail.com>
Thu, 9 Jun 2022 23:11:15 +0000 (16:11 -0700)
committerWilmer Paulino <wilmer.paulino@gmail.com>
Thu, 9 Jun 2022 23:11:15 +0000 (16:11 -0700)
commit850ca13fbca5418c08c52313213acb675a73ad00
tree4c18f9955be5fa2fb4b74e7dfb7bb7cc55d13b97
parenta551a6219c06d4ed149dcecc4553bc8a85e408f0
Move announced_channel to ChannelHandshakeConfig

In the near future, we plan to allow users to update their
`ChannelConfig` after the initial channel handshake. In order to reuse
the same struct and expose it to users, we opt to move out all static
fields that cannot be updated after the initial channel handshake.
fuzz/src/chanmon_consistency.rs
fuzz/src/full_stack.rs
lightning-invoice/src/utils.rs
lightning/src/ln/channel.rs
lightning/src/ln/functional_test_utils.rs
lightning/src/ln/functional_tests.rs
lightning/src/ln/onion_route_tests.rs
lightning/src/ln/priv_short_conf_tests.rs
lightning/src/ln/shutdown_tests.rs
lightning/src/util/config.rs