Merge pull request #2308 from apoelstra/safemode-privkey

Enable dumpprivkey in safe mode
This commit is contained in:
Gavin Andresen 2013-02-22 08:50:12 -08:00
commit 1167af7e5c

View file

@ -246,7 +246,7 @@ static const CRPCCommand vRPCCommands[] =
{ "getblocktemplate", &getblocktemplate, true, false }, { "getblocktemplate", &getblocktemplate, true, false },
{ "submitblock", &submitblock, false, false }, { "submitblock", &submitblock, false, false },
{ "listsinceblock", &listsinceblock, false, false }, { "listsinceblock", &listsinceblock, false, false },
{ "dumpprivkey", &dumpprivkey, false, false }, { "dumpprivkey", &dumpprivkey, true, false },
{ "importprivkey", &importprivkey, false, false }, { "importprivkey", &importprivkey, false, false },
{ "listunspent", &listunspent, false, false }, { "listunspent", &listunspent, false, false },
{ "getrawtransaction", &getrawtransaction, false, false }, { "getrawtransaction", &getrawtransaction, false, false },