@@ -456,18 +456,6 @@ static UniValue echo(const JSONRPCRequest& request)
456
456
return request.params ;
457
457
}
458
458
459
- static UniValue getinfo_deprecated (const JSONRPCRequest& request)
460
- {
461
- throw JSONRPCError (RPC_METHOD_NOT_FOUND,
462
- " getinfo\n "
463
- " \n This call was removed in version 0.16.0. Use the appropriate fields from:\n "
464
- " - getblockchaininfo: blocks, difficulty, chain\n "
465
- " - getnetworkinfo: version, protocolversion, timeoffset, connections, proxy, relayfee, warnings\n "
466
- " - getwalletinfo: balance, keypoololdest, keypoolsize, paytxfee, unlocked_until, walletversion\n "
467
- " \n bitcoin-cli has the option -getinfo to collect and format these in the old format."
468
- );
469
- }
470
-
471
459
static const CRPCCommand commands[] =
472
460
{ // category name actor (function) argNames
473
461
// --------------------- ------------------------ ----------------------- ----------
@@ -482,7 +470,6 @@ static const CRPCCommand commands[] =
482
470
{ " hidden" , " setmocktime" , &setmocktime, {" timestamp" }},
483
471
{ " hidden" , " echo" , &echo, {" arg0" ," arg1" ," arg2" ," arg3" ," arg4" ," arg5" ," arg6" ," arg7" ," arg8" ," arg9" }},
484
472
{ " hidden" , " echojson" , &echo, {" arg0" ," arg1" ," arg2" ," arg3" ," arg4" ," arg5" ," arg6" ," arg7" ," arg8" ," arg9" }},
485
- { " hidden" , " getinfo" , &getinfo_deprecated, {}},
486
473
};
487
474
488
475
void RegisterMiscRPCCommands (CRPCTable &t)
0 commit comments