change threadSafe (i.e. cs_main lock usage) for Dash rpc commands

Closes #604
This commit is contained in:
UdjinM6 2015-09-09 06:27:20 +03:00 committed by Holger Schinzel
parent 818303dbbd
commit 9710b50a43

View File

@ -309,14 +309,14 @@ static const CRPCCommand vRPCCommands[] =
{ "hidden", "setmocktime", &setmocktime, true, false, false }, { "hidden", "setmocktime", &setmocktime, true, false, false },
/* Dash features */ /* Dash features */
{ "dash", "mnsync", &mnsync, true, false, false }, { "dash", "masternode", &masternode, true, true, false },
{ "dash", "spork", &spork, true, false, false }, { "dash", "masternodelist", &masternodelist, true, true, false },
{ "dash", "masternode", &masternode, true, false, true }, { "dash", "mnbudget", &mnbudget, true, true, false },
{ "dash", "mnbudget", &mnbudget, true, false, false }, { "dash", "mnfinalbudget", &mnfinalbudget, true, true, false },
{ "dash", "mnfinalbudget", &mnfinalbudget, true, false, false }, { "dash", "mnsync", &mnsync, true, true, false },
{ "dash", "masternodelist", &masternodelist, true, false, false }, { "dash", "spork", &spork, true, true, false },
#ifdef ENABLE_WALLET #ifdef ENABLE_WALLET
{ "dash", "darksend", &darksend, false, false, true }, { "dash", "darksend", &darksend, false, false, true }, /* not threadSafe because of SendMoney */
/* Wallet */ /* Wallet */
{ "wallet", "addmultisigaddress", &addmultisigaddress, true, false, true }, { "wallet", "addmultisigaddress", &addmultisigaddress, true, false, true },