@ -248,12 +248,14 @@ static const CRPCCommand vRPCCommands[] =
@@ -248,12 +248,14 @@ static const CRPCCommand vRPCCommands[] =
{ " gettxout " , & gettxout , true , false , false } ,
{ " verifychain " , & verifychain , true , false , false } ,
# ifdef ENABLE_WALLET
/* Mining */
{ " getnetworkhashps " , & getnetworkhashps , true , false , false } ,
{ " getgenerate " , & getgenerate , true , false , false } ,
{ " setgenerate " , & setgenerate , true , true , false } ,
{ " gethashespersec " , & gethashespersec , true , false , false } ,
{ " getmininginfo " , & getmininginfo , true , false , false } ,
{ " getblocktemplate " , & getblocktemplate , true , false , false } ,
{ " submitblock " , & submitblock , false , false , false } ,
# ifdef ENABLE_WALLET
/* Wallet */
{ " getnewaddress " , & getnewaddress , true , false , true } ,
{ " getaccountaddress " , & getaccountaddress , true , false , true } ,
{ " getrawchangeaddress " , & getrawchangeaddress , true , false , true } ,
@ -283,10 +285,7 @@ static const CRPCCommand vRPCCommands[] =
@@ -283,10 +285,7 @@ static const CRPCCommand vRPCCommands[] =
{ " listaddressgroupings " , & listaddressgroupings , false , false , true } ,
{ " signmessage " , & signmessage , false , false , true } ,
{ " verifymessage " , & verifymessage , false , false , false } ,
{ " getwork " , & getwork , true , false , true } ,
{ " listaccounts " , & listaccounts , false , false , true } ,
{ " getblocktemplate " , & getblocktemplate , true , false , false } ,
{ " submitblock " , & submitblock , false , false , false } ,
{ " listsinceblock " , & listsinceblock , false , false , true } ,
{ " dumpprivkey " , & dumpprivkey , true , false , true } ,
{ " dumpwallet " , & dumpwallet , true , false , true } ,
@ -295,6 +294,12 @@ static const CRPCCommand vRPCCommands[] =
@@ -295,6 +294,12 @@ static const CRPCCommand vRPCCommands[] =
{ " listunspent " , & listunspent , false , false , true } ,
{ " lockunspent " , & lockunspent , false , false , true } ,
{ " listlockunspent " , & listlockunspent , false , false , true } ,
/* Wallet-enabled mining */
{ " getgenerate " , & getgenerate , true , false , false } ,
{ " setgenerate " , & setgenerate , true , true , false } ,
{ " gethashespersec " , & gethashespersec , true , false , false } ,
{ " getwork " , & getwork , true , false , true } ,
# endif // ENABLE_WALLET
} ;