rescan: extract block handling into helper closures
rescan: extract block handling into helper closures

We do this in preparation for the block notification logic in order to
produce a smaller diff.

lightninglabs/neutrino