]> git.bitcoin.ninja Git - rust-lightning/commit
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>
Wed, 5 Aug 2020 00:11:54 +0000 (17:11 -0700)
commit75cc60c46fcbab12f85231cb70953568ff933fc7
tree5942c50b8e59c5f5ee4ca04dd952c54b0004d2d6
parent69225a60fff9671fa2cd76ac3e4dd9ec5fd495d8
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