bitcoin/bitcoin — pull request #911 by gavinandresen (2012-02-29 16:48:35+00:00)
Title: DoS fix for mapOrphanTransactions

This prevents mapOrphanTransactions from growing without bound.

It should eventually be combined with DoS code to disconnect and ban peers that send "too many" orphans, but we need to think a little harder about how to figure out how many is too many.