bitcoin/bitcoin — pull request #1093 by jgarzik (2012-04-13 21:51:23+00:00)
Title: Database micro-optimization for "tx" network message

Open database once per "tx" message, rather than multiple times,
in the case of orphan transaction presence.

As a side effect, a now-unused CTransaction::AcceptToMemoryPool()
variant is removed.