bitcoin/bitcoin — pull request #1744 by gavinandresen (2012-08-28 21:11:17+00:00)
Title: Separate alert key for testnet

Two commits; the first just refactors most of the alert-handling code into alert.cpp/alert.h

The second gives testnet it's own alert key, which is the right thing to do because if it shares the main network's key somebody could take testnet test alerts and rebroadcast them on the main network.