]> git.bitcoin.ninja Git - rust-lightning/commit
Track last_block_hash in ChannelMonitor and expose it on deser
authorMatt Corallo <git@bluematt.me>
Wed, 24 Oct 2018 15:14:12 +0000 (11:14 -0400)
committerMatt Corallo <git@bluematt.me>
Sat, 27 Oct 2018 13:42:04 +0000 (09:42 -0400)
commit56513f2927b0c8d3b55c059ddcde86eb5132d508
treec60f9c68a5b76dfa02376277c9f447f1b24191ab
parent612e2801f897d96ca22f0e82a398042ab6c21c32
Track last_block_hash in ChannelMonitor and expose it on deser

Also make block_connected take a &mut self to ensure serialized
state will always be self-consistent.
fuzz/fuzz_targets/chanmon_deser_target.rs
src/ln/channel.rs
src/ln/channelmonitor.rs
src/util/test_utils.rs