@@ -256,72 +256,8 @@ static const CRPCCommand vRPCCommands[] =
256256{ // category name actor (function) okSafeMode
257257 // --------------------- ------------------------ ----------------------- ----------
258258 /* Overall control/query calls */
259- { " control" , " getinfo" , &getinfo, true }, /* uses wallet if enabled */
260259 { " control" , " help" , &help, true },
261260 { " control" , " stop" , &stop, true },
262-
263- /* P2P networking */
264- { " network" , " getnetworkinfo" , &getnetworkinfo, true },
265- { " network" , " addnode" , &addnode, true },
266- { " network" , " disconnectnode" , &disconnectnode, true },
267- { " network" , " getaddednodeinfo" , &getaddednodeinfo, true },
268- { " network" , " getconnectioncount" , &getconnectioncount, true },
269- { " network" , " getnettotals" , &getnettotals, true },
270- { " network" , " getpeerinfo" , &getpeerinfo, true },
271- { " network" , " ping" , &ping, true },
272- { " network" , " setban" , &setban, true },
273- { " network" , " listbanned" , &listbanned, true },
274- { " network" , " clearbanned" , &clearbanned, true },
275-
276- /* Block chain and UTXO */
277- { " blockchain" , " getblockchaininfo" , &getblockchaininfo, true },
278- { " blockchain" , " getbestblockhash" , &getbestblockhash, true },
279- { " blockchain" , " getblockcount" , &getblockcount, true },
280- { " blockchain" , " getblock" , &getblock, true },
281- { " blockchain" , " getblockhash" , &getblockhash, true },
282- { " blockchain" , " getblockheader" , &getblockheader, true },
283- { " blockchain" , " getchaintips" , &getchaintips, true },
284- { " blockchain" , " getdifficulty" , &getdifficulty, true },
285- { " blockchain" , " getmempoolinfo" , &getmempoolinfo, true },
286- { " blockchain" , " getrawmempool" , &getrawmempool, true },
287- { " blockchain" , " gettxout" , &gettxout, true },
288- { " blockchain" , " gettxoutproof" , &gettxoutproof, true },
289- { " blockchain" , " verifytxoutproof" , &verifytxoutproof, true },
290- { " blockchain" , " gettxoutsetinfo" , &gettxoutsetinfo, true },
291- { " blockchain" , " verifychain" , &verifychain, true },
292-
293- /* Mining */
294- { " mining" , " getblocktemplate" , &getblocktemplate, true },
295- { " mining" , " getmininginfo" , &getmininginfo, true },
296- { " mining" , " getnetworkhashps" , &getnetworkhashps, true },
297- { " mining" , " prioritisetransaction" , &prioritisetransaction, true },
298- { " mining" , " submitblock" , &submitblock, true },
299-
300- /* Coin generation */
301- { " generating" , " generate" , &generate, true },
302- { " generating" , " generatetoaddress" , &generatetoaddress, true },
303-
304- /* Raw transactions */
305- { " rawtransactions" , " createrawtransaction" , &createrawtransaction, true },
306- { " rawtransactions" , " decoderawtransaction" , &decoderawtransaction, true },
307- { " rawtransactions" , " decodescript" , &decodescript, true },
308- { " rawtransactions" , " getrawtransaction" , &getrawtransaction, true },
309- { " rawtransactions" , " sendrawtransaction" , &sendrawtransaction, false },
310- { " rawtransactions" , " signrawtransaction" , &signrawtransaction, false }, /* uses wallet if enabled */
311-
312- /* Utility functions */
313- { " util" , " createmultisig" , &createmultisig, true },
314- { " util" , " validateaddress" , &validateaddress, true }, /* uses wallet if enabled */
315- { " util" , " verifymessage" , &verifymessage, true },
316- { " util" , " estimatefee" , &estimatefee, true },
317- { " util" , " estimatepriority" , &estimatepriority, true },
318- { " util" , " estimatesmartfee" , &estimatesmartfee, true },
319- { " util" , " estimatesmartpriority" , &estimatesmartpriority, true },
320-
321- /* Not shown in help */
322- { " hidden" , " invalidateblock" , &invalidateblock, true },
323- { " hidden" , " reconsiderblock" , &reconsiderblock, true },
324- { " hidden" , " setmocktime" , &setmocktime, true },
325261};
326262
327263CRPCTable::CRPCTable ()
0 commit comments