]> git.bitcoin.ninja Git - rust-lightning/commit
Implement Flat Features
authorMatt Corallo <git@bluematt.me>
Mon, 23 Dec 2019 22:52:58 +0000 (17:52 -0500)
committerMatt Corallo <git@bluematt.me>
Sun, 12 Jan 2020 23:15:25 +0000 (18:15 -0500)
commit31cc243e6f04e82f7754d26df7a2bb0275d7ebd1
tree94de4309b04a840a33643644929c0448476b0169
parentf8b06ec82c491efee2595bfcf95a68b027567d70
Implement Flat Features

This merges local and global features into one struct, which is
parameterized by where it appers. The parameterization restricts
which queries can be made and which features can be set, in line
with the latest BOLT 9.

Closes #427.
13 files changed:
fuzz/src/chanmon_consistency.rs
fuzz/src/msg_targets/gen_target.sh
fuzz/src/msg_targets/mod.rs
fuzz/src/msg_targets/msg_init.rs
lightning/src/ln/chanmon_update_fail_tests.rs
lightning/src/ln/channel.rs
lightning/src/ln/channelmanager.rs
lightning/src/ln/functional_test_utils.rs
lightning/src/ln/functional_tests.rs
lightning/src/ln/msgs.rs
lightning/src/ln/peer_handler.rs
lightning/src/ln/router.rs
lightning/src/util/test_utils.rs