Combine ChannelManager's block hash and height
authorJeffrey Czyz <jkczyz@gmail.com>
Fri, 9 Apr 2021 06:36:30 +0000 (23:36 -0700)
committerJeffrey Czyz <jkczyz@gmail.com>
Wed, 14 Apr 2021 19:57:04 +0000 (12:57 -0700)
commit5610ca193df693be2974dc31c18669a2c48ed00d
tree03908a32e7a6831d9137891b0668156c9f7cf8a8
parent24351f5868ad8f379ecfd11253d3983305dd424d
Combine ChannelManager's block hash and height

There is a possible race condition when both the latest block hash and
height are needed. Combine these in one struct and place them behind a
single lock.
background-processor/src/lib.rs
fuzz/src/chanmon_consistency.rs
fuzz/src/full_stack.rs
lightning/src/ln/channelmanager.rs
lightning/src/ln/functional_test_utils.rs
lightning/src/ln/functional_tests.rs