optimize CheckIfPinned
Steven Allen authored
1. Parallelize fetching from disk.
2. Avoid re-visiting blocks we've already checked. Adding the same data
   over and over with small changes is pretty common.
49ac7c3a