@@ -232,8 +232,8 @@ static const CRPCCommand vRPCCommands[] =
232
232
{ " getblockchaininfo" , &getblockchaininfo, true , false , false },
233
233
{ " getbestblockhash" , &getbestblockhash, true , false , false },
234
234
{ " getblockcount" , &getblockcount, true , false , false },
235
- { " getblock" , &getblock, false , false , false },
236
- { " getblockhash" , &getblockhash, false , false , false },
235
+ { " getblock" , &getblock, true , false , false },
236
+ { " getblockhash" , &getblockhash, true , false , false },
237
237
{ " getdifficulty" , &getdifficulty, true , false , false },
238
238
{ " getrawmempool" , &getrawmempool, true , false , false },
239
239
{ " gettxout" , &gettxout, true , false , false },
@@ -245,32 +245,32 @@ static const CRPCCommand vRPCCommands[] =
245
245
{ " getmininginfo" , &getmininginfo, true , false , false },
246
246
{ " getnetworkhashps" , &getnetworkhashps, true , false , false },
247
247
{ " prioritisetransaction" , &prioritisetransaction, true , false , false },
248
- { " submitblock" , &submitblock, false , true , false },
248
+ { " submitblock" , &submitblock, true , true , false },
249
249
250
250
/* Raw transactions */
251
- { " createrawtransaction" , &createrawtransaction, false , false , false },
252
- { " decoderawtransaction" , &decoderawtransaction, false , false , false },
253
- { " decodescript" , &decodescript, false , false , false },
254
- { " getrawtransaction" , &getrawtransaction, false , false , false },
251
+ { " createrawtransaction" , &createrawtransaction, true , false , false },
252
+ { " decoderawtransaction" , &decoderawtransaction, true , false , false },
253
+ { " decodescript" , &decodescript, true , false , false },
254
+ { " getrawtransaction" , &getrawtransaction, true , false , false },
255
255
{ " sendrawtransaction" , &sendrawtransaction, false , false , false },
256
256
{ " signrawtransaction" , &signrawtransaction, false , false , false }, /* uses wallet if enabled */
257
257
258
258
/* Utility functions */
259
259
{ " createmultisig" , &createmultisig, true , true , false },
260
260
{ " validateaddress" , &validateaddress, true , false , false }, /* uses wallet if enabled */
261
- { " verifymessage" , &verifymessage, false , false , false },
261
+ { " verifymessage" , &verifymessage, true , false , false },
262
262
{ " estimatefee" , &estimatefee, true , true , false },
263
263
{ " estimatepriority" , &estimatepriority, true , true , false },
264
264
265
265
#ifdef ENABLE_WALLET
266
266
/* Wallet */
267
- { " addmultisigaddress" , &addmultisigaddress, false , false , true },
267
+ { " addmultisigaddress" , &addmultisigaddress, true , false , true },
268
268
{ " backupwallet" , &backupwallet, true , false , true },
269
269
{ " dumpprivkey" , &dumpprivkey, true , false , true },
270
270
{ " dumpwallet" , &dumpwallet, true , false , true },
271
- { " encryptwallet" , &encryptwallet, false , false , true },
271
+ { " encryptwallet" , &encryptwallet, true , false , true },
272
272
{ " getaccountaddress" , &getaccountaddress, true , false , true },
273
- { " getaccount" , &getaccount, false , false , true },
273
+ { " getaccount" , &getaccount, true , false , true },
274
274
{ " getaddressesbyaccount" , &getaddressesbyaccount, true , false , true },
275
275
{ " getbalance" , &getbalance, false , false , true },
276
276
{ " getnewaddress" , &getnewaddress, true , false , true },
@@ -279,10 +279,10 @@ static const CRPCCommand vRPCCommands[] =
279
279
{ " getreceivedbyaddress" , &getreceivedbyaddress, false , false , true },
280
280
{ " gettransaction" , &gettransaction, false , false , true },
281
281
{ " getunconfirmedbalance" , &getunconfirmedbalance, false , false , true },
282
- { " getwalletinfo" , &getwalletinfo, true , false , true },
283
- { " importprivkey" , &importprivkey, false , false , true },
284
- { " importwallet" , &importwallet, false , false , true },
285
- { " importaddress" , &importaddress, false , false , true },
282
+ { " getwalletinfo" , &getwalletinfo, false , false , true },
283
+ { " importprivkey" , &importprivkey, true , false , true },
284
+ { " importwallet" , &importwallet, true , false , true },
285
+ { " importaddress" , &importaddress, true , false , true },
286
286
{ " keypoolrefill" , &keypoolrefill, true , false , true },
287
287
{ " listaccounts" , &listaccounts, false , false , true },
288
288
{ " listaddressgroupings" , &listaddressgroupings, false , false , true },
@@ -292,16 +292,16 @@ static const CRPCCommand vRPCCommands[] =
292
292
{ " listsinceblock" , &listsinceblock, false , false , true },
293
293
{ " listtransactions" , &listtransactions, false , false , true },
294
294
{ " listunspent" , &listunspent, false , false , true },
295
- { " lockunspent" , &lockunspent, false , false , true },
295
+ { " lockunspent" , &lockunspent, true , false , true },
296
296
{ " move" , &movecmd, false , false , true },
297
297
{ " sendfrom" , &sendfrom, false , false , true },
298
298
{ " sendmany" , &sendmany, false , false , true },
299
299
{ " sendtoaddress" , &sendtoaddress, false , false , true },
300
300
{ " setaccount" , &setaccount, true , false , true },
301
- { " settxfee" , &settxfee, false , false , true },
302
- { " signmessage" , &signmessage, false , false , true },
301
+ { " settxfee" , &settxfee, true , false , true },
302
+ { " signmessage" , &signmessage, true , false , true },
303
303
{ " walletlock" , &walletlock, true , false , true },
304
- { " walletpassphrasechange" , &walletpassphrasechange, false , false , true },
304
+ { " walletpassphrasechange" , &walletpassphrasechange, true , false , true },
305
305
{ " walletpassphrase" , &walletpassphrase, true , false , true },
306
306
307
307
/* Wallet-enabled mining */
0 commit comments