bitcoin/bitcoin — pull request #5580 by luke-jr (2014-12-31 03:31:31+00:00)
Title: Preemptively catch a few potential bugs

This causes CCoinsViewCache(CCoinsViewCache) to fail at compile-time rather than copy an existing cache (most likely the caller intends to sub-cache it)

It also makes ConnectBlock's fJustCheck work correctly for the genesis block, just in case it gets in there somehow.