Do not invoke anti-DoS system for invalid BIP16 transactions
authorPieter Wuille <pieter.wuille@gmail.com>
Sat, 25 Feb 2012 18:02:30 +0000 (19:02 +0100)
committerLuke Dashjr <luke-jr+git@utopios.org>
Wed, 4 Apr 2012 13:50:48 +0000 (09:50 -0400)
commit60f89779a3586f8afae47bb8e9c374cd5fe7f8b6
treed5e59445bc62847ac9e41443d1f148d1dd9dacaa
parentfea0a27ddc30f2d51c386d268499d6c50363c202
Do not invoke anti-DoS system for invalid BIP16 transactions

Doing so would allow an attack on old nodes, which would relay a
standard transaction spending a BIP16 output in an invalid way,
until reaching a new node, which will disconnect their peer.

Reported by makomk on IRC.
src/main.cpp