Replace ChainWatchInterface in NetGraphMsgHandler
authorJeffrey Czyz <jkczyz@gmail.com>
Sat, 18 Jul 2020 05:08:34 +0000 (22:08 -0700)
committerJeffrey Czyz <jkczyz@gmail.com>
Thu, 1 Oct 2020 05:39:38 +0000 (22:39 -0700)
commit3ee6a27bc6cef28ba52059a405913ca5c6e1dcb7
tree4c7d418265e64e24301c1869a15c8e88e4aa801e
parent87398be29354ea0e844a13c6e6988c8152d31a18
Replace ChainWatchInterface in NetGraphMsgHandler

ChainWatchInterface was intended as an interface for watching rather
than accessing the chain. Remove get_chain_utxo and add chain::Access
trait for this behavior. Wrap it with an Option in NetGraphMsgHandler in
order to simplify the error interface.
ARCH.md
fuzz/src/full_stack.rs
fuzz/src/router.rs
lightning-net-tokio/src/lib.rs
lightning/src/chain/mod.rs
lightning/src/ln/functional_test_utils.rs
lightning/src/ln/functional_tests.rs
lightning/src/routing/network_graph.rs
lightning/src/routing/router.rs
lightning/src/util/test_utils.rs