mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-04 09:48:19 +01:00
Moves filter handling logic for connecting blocks to the connectFilteredBlock method. The disconnect logic now lives in disconnectFilteredBlock. After updating the filter, drainChainUpdates is called which will drain everything from the chainUpdates chan and apply all updates by calling either connectFilteredBlock or disconnectFilteredBlock. This will allow callers to update their EndHeight if performing a historical dispatch, as blocks up to this height may not have had the filter applied. |
||
---|---|---|
.. | ||
driver.go | ||
neutrino.go | ||
neutrino_dev.go |