From 4fa45b6db93cb43e91e94f0f69b0a65afe0a4a32 Mon Sep 17 00:00:00 2001 From: Sunny King Date: Sat, 18 Feb 2012 20:43:39 +0000 Subject: [PATCH] PPCoin: Allow RPC commands resetcheckpoint and getbranchpoint in safe mode --- src/bitcoinrpc.cpp | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/bitcoinrpc.cpp b/src/bitcoinrpc.cpp index 5a697d9..08c598a 100644 --- a/src/bitcoinrpc.cpp +++ b/src/bitcoinrpc.cpp @@ -1916,6 +1916,8 @@ string pAllowInSafeMode[] = "validateaddress", "getwork", "getmemorypool", + "resetcheckpoint", + "getbranchpoint", }; set setAllowInSafeMode(pAllowInSafeMode, pAllowInSafeMode + sizeof(pAllowInSafeMode)/sizeof(pAllowInSafeMode[0])); -- 1.7.1