bitcoin/bitcoin — pull request #4310 by sipa (2014-06-08 23:30:58+00:00)
Title: Move checkpoint based heuristic checks to AcceptBlockHeader

It was incorrectly moved to CheckBlockHeader, which is not correct, as it is not a context-independent validity check of the block header.

Fixes #4246.