]> git.bitcoin.ninja Git - rust-lightning/commit
Refactor features a bit more to describe what the constructors do
authorMatt Corallo <git@bluematt.me>
Mon, 13 Jan 2020 18:52:23 +0000 (13:52 -0500)
committerMatt Corallo <git@bluematt.me>
Mon, 13 Jan 2020 18:52:23 +0000 (13:52 -0500)
commit7ec52c6ecbaf36f66f15302cf0b22a84f7dc0fa8
tree2fdff4c0c5dcc6b6eb1321f6b8559f6c93dca935
parent96d3de5cde06c6764213575702ff4a64c884a87e
Refactor features a bit more to describe what the constructors do

The Features::new() method is nonsense and doesn't describe what
features were being set - we introduce an empty() and supported()
constructors instead.
fuzz/src/chanmon_consistency.rs
lightning/src/ln/chanmon_update_fail_tests.rs
lightning/src/ln/channel.rs
lightning/src/ln/functional_tests.rs
lightning/src/ln/msgs.rs
lightning/src/ln/peer_handler.rs
lightning/src/ln/router.rs