]> 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 00:58:26 +0000 (16:58 -0800)
commit1316265a93939a232734719e383bfb659fe15780
tree9592444a24f57c4543b46b8cb1644dde592b6d21
parentfec85536e23824d14abd23a499431a300d45f767
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