bitcoin/bitcoin — pull request #4450 by dgenr8 (2014-07-01 21:42:47+00:00)
Title: Check signatures before double-spend relay

After it passes anti-DoS checks, mark a respend as relayable, but do not actually relay it until after the inputs are completely checked (for valid signatures especially).

This fixes a problem with #3883.