git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
3804030
)
PPCoin: Allow RPC commands resetcheckpoint and getbranchpoint in safe mode
author
Sunny King
<p2pcoin@gmail.com>
Sat, 18 Feb 2012 20:43:39 +0000 (20:43 +0000)
committer
Sunny King
<p2pcoin@gmail.com>
Sat, 18 Feb 2012 20:43:39 +0000 (20:43 +0000)
src/bitcoinrpc.cpp
patch
|
blob
|
history
diff --git
a/src/bitcoinrpc.cpp
b/src/bitcoinrpc.cpp
index
5a697d9
..
08c598a
100644
(file)
--- a/
src/bitcoinrpc.cpp
+++ b/
src/bitcoinrpc.cpp
@@
-1916,6
+1916,8
@@
string pAllowInSafeMode[] =
"validateaddress",
"getwork",
"getmemorypool",
+ "resetcheckpoint",
+ "getbranchpoint",
};
set<string> setAllowInSafeMode(pAllowInSafeMode, pAllowInSafeMode + sizeof(pAllowInSafeMode)/sizeof(pAllowInSafeMode[0]));