changeset 29664:62be9d50f6fa

rpc: update oksafemode for address commands
author Braydon Fuller <courier@braydon.com>
date Mon, 25 Apr 2016 13:08:52 -0400
parents 689c04c73d0f
children 19241a1fccf5
files src/rpcserver.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/rpcserver.cpp	Thu Apr 21 16:07:42 2016 -0400
+++ b/src/rpcserver.cpp	Mon Apr 25 13:08:52 2016 -0400
@@ -290,7 +290,7 @@
     { "blockchain",         "verifytxoutproof",       &verifytxoutproof,       true  },
     { "blockchain",         "gettxoutsetinfo",        &gettxoutsetinfo,        true  },
     { "blockchain",         "verifychain",            &verifychain,            true  },
-    { "blockchain",         "getspentinfo",           &getspentinfo,           true  },
+    { "blockchain",         "getspentinfo",           &getspentinfo,           false },
 
     /* Mining */
     { "mining",             "getblocktemplate",       &getblocktemplate,       true  },
@@ -316,7 +316,7 @@
 #endif
 
     /* Address index */
-    { "addressindex",       "getaddressmempool",      &getaddressmempool,      false },
+    { "addressindex",       "getaddressmempool",      &getaddressmempool,      true  },
     { "addressindex",       "getaddressutxos",        &getaddressutxos,        false },
     { "addressindex",       "getaddressdeltas",       &getaddressdeltas,       false },
     { "addressindex",       "getaddresstxids",        &getaddresstxids,        false },