bitcoin/bitcoin — pull request #1695 by sipa (2012-08-21 17:20:09+00:00)
Title: Do not accept orphan blocks in -loadblock mode

In -loadblock mode, ProcessBlock() is called without node to retrieve parents from, if needed. In this case, prefer to not store orphans as all, as they would just linger in RAM.