bitcoin/bitcoin — pull request #1710 by sipa (2012-08-23 12:37:40+00:00)
Title: Remove P2SH transition code: P2SH violations may cause DoS trigger

We had code to check for P2SH violations specifically, in order to not cause DoS triggers from them during the transition period. This is no longer necessary.

It also improves performance for detecting invalid scripts a bit.