]> git.bitcoin.ninja Git - rust-lightning/commit
Support filtered blocks in lightning-block-sync
authorJeffrey Czyz <jkczyz@gmail.com>
Thu, 8 Sep 2022 20:17:05 +0000 (15:17 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Tue, 13 Sep 2022 17:47:31 +0000 (12:47 -0500)
commitc1938e8c9fb5d531dd735e889b2ab0f7bc8580b8
treeae407233b7beb150fc2a78e38605dc03e9396426
parent15a5966fa24286ca805aea3a97e606b10c71543d
Support filtered blocks in lightning-block-sync

Expand the BlockSource trait to allow filtered blocks now that
chain::Listen supports them (d629a7edb7241eee7fde9f5ccdf1c481d2d6297b).
This makes it possible to use BIP 157/158 compact block filters with
lightning-block-sync.
lightning-block-sync/src/init.rs
lightning-block-sync/src/lib.rs
lightning-block-sync/src/poll.rs
lightning-block-sync/src/rest.rs
lightning-block-sync/src/rpc.rs
lightning-block-sync/src/test_utils.rs