Disable main net support, default to testnet

This commit is contained in:
Pieter Wuille 2015-06-08 00:52:25 +02:00 committed by Matt Corallo
parent 150fb412dc
commit ed9440656b
2 changed files with 6 additions and 1 deletions

View file

@ -511,6 +511,10 @@ bool InitSanityCheck(void)
*/
bool AppInit2(boost::thread_group& threadGroup)
{
if (Params().NetworkIDString() == "main") {
return InitError("Error: Elements Alpha does not support main network.");
}
// ********************************************************* Step 1: setup
#ifdef _MSC_VER
// Turn off Microsoft heap dump noise