bitcoin/bitcoin — pull request #4764 by sipa (2014-08-26 00:36:27+00:00)
Title: Bypass reloading blocks from disk

Pass the currently-being-processed block down to ConnectTip, so it can avoid loading it again from disk.

This results in 15% reindex speedup for me (with blocks/ on an encrypted filesystem).