]> git.bitcoin.ninja Git - rust-lightning/commit
Change ChannelManager deserialization to return an optional blockhash
authorValentine Wallace <vwallace@protonmail.com>
Fri, 26 Feb 2021 21:09:28 +0000 (16:09 -0500)
committerMatt Corallo <git@bluematt.me>
Tue, 2 Mar 2021 19:30:56 +0000 (14:30 -0500)
commitee995a3a5542dee16b7fbdc5e55c6311b3c78442
treed72cae9e82ef7644843045b5e4069f96e5d73527
parent81c6bdc953ce3191e2428a3575e5994381f31c1f
Change ChannelManager deserialization to return an optional blockhash

If the ChannelManager never receives any blocks, it'll return a default blockhash
on deserialization. It's preferable for this to be an Option instead.
fuzz/src/chanmon_consistency.rs
lightning-block-sync/src/init.rs
lightning/src/ln/channelmanager.rs
lightning/src/ln/functional_test_utils.rs
lightning/src/ln/functional_tests.rs