]> git.bitcoin.ninja Git - rust-lightning/commit
Allow &dyn BlockSource in lightning-block-sync
authorJeffrey Czyz <jkczyz@gmail.com>
Fri, 15 Apr 2022 14:03:00 +0000 (09:03 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Fri, 15 Apr 2022 16:38:48 +0000 (11:38 -0500)
commitb10217590b82574d4e0f949774da50ecf630d12b
tree3cbd6107cff1269f85af1e176d37674ac4483970
parent03f655003d4a70aeb0dc79c4007cba1a7195350a
Allow &dyn BlockSource in lightning-block-sync

Update lightning-block-sync's init and poll modules to support &dyn
BlockSource such that the BlockSource can be determined at runtime.
lightning-block-sync/src/init.rs
lightning-block-sync/src/poll.rs