diff options
author | s_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b> | 2010-08-25 17:53:09 +0000 |
---|---|---|
committer | s_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b> | 2010-08-25 17:53:09 +0000 |
commit | 5b721607b1057df4dfe97f80d235ed372312f398 (patch) | |
tree | 2c781a9c615500e220b33436eab2863201ee5ce1 /main.cpp | |
parent | 2ef9cfa5b81877b1023f2fcb82f5a638b1eb013c (diff) |
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
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 != "")
|