]> git.bitcoin.ninja Git - rust-lightning/commit
Remove block_connected de-duplication logic
authorJeffrey Czyz <jkczyz@gmail.com>
Fri, 5 Mar 2021 00:58:26 +0000 (16:58 -0800)
committerJeffrey Czyz <jkczyz@gmail.com>
Fri, 5 Mar 2021 23:45:12 +0000 (15:45 -0800)
commitff4b4c4d36e2403fe1682a352f54db4ab57f3987
treef350f10b6f969ffc24679b08415b51b614b0c577
parentd28fa54edbfde53171aa1e61b03502b02dc422d2
Remove block_connected de-duplication logic

Calling block_connected for the same block was necessary when clients
were expected to re-fetch filtered blocks with relevant transactions. At
the time, all listeners were notified of the connected block again for
re-scanning. Thus, de-duplication logic was put in place.

However, this requirement is no longer applicable for ChannelManager as
of commit bd39b20f642e042981e4fdd5f3600a357be51931, so remove this
logic.
lightning/src/ln/channel.rs