From 5b721607b1057df4dfe97f80d235ed372312f398 Mon Sep 17 00:00:00 2001 From: s_nakamoto Date: Wed, 25 Aug 2010 17:53:09 +0000 Subject: [PATCH] added -testsafemode switch -- version 0.3.11 release git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@145 1a98c847-1fd6-4fd8-948a-caf3550aa51b --- main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.cpp b/main.cpp index 0171f147..ebd4bbd1 100644 --- a/main.cpp +++ b/main.cpp @@ -1793,6 +1793,8 @@ string GetWarnings(string strFor) int nPriority = 0; string strStatusBar; string strRPC; + if (mapArgs.count("-testsafemode")) + strRPC = "test"; // Misc warnings like out of disk space and clock is wrong if (strMiscWarning != "")