PPCoin: Allow RPC commands resetcheckpoint and getbranchpoint in safe mode
authorSunny King <p2pcoin@gmail.com>
Sat, 18 Feb 2012 20:43:39 +0000 (20:43 +0000)
committerSunny King <p2pcoin@gmail.com>
Sat, 18 Feb 2012 20:43:39 +0000 (20:43 +0000)
src/bitcoinrpc.cpp

index 5a697d9..08c598a 100644 (file)
@@ -1916,6 +1916,8 @@ string pAllowInSafeMode[] =
     "validateaddress",
     "getwork",
     "getmemorypool",
+    "resetcheckpoint",
+    "getbranchpoint",
 };
 set<string> setAllowInSafeMode(pAllowInSafeMode, pAllowInSafeMode + sizeof(pAllowInSafeMode)/sizeof(pAllowInSafeMode[0]));