Changeset View
Changeset View
Standalone View
Standalone View
src/rpc/mining.cpp
Show First 20 Lines • Show All 376 Lines • ▼ Show 20 Lines | if (request.fHelp || request.params.size() > 1) { | ||||
{ | { | ||||
{"mode", RPCArg::Type::STR, true}, | {"mode", RPCArg::Type::STR, true}, | ||||
{"capabilities", | {"capabilities", | ||||
RPCArg::Type::ARR, | RPCArg::Type::ARR, | ||||
{ | { | ||||
{"support", RPCArg::Type::STR, true}, | {"support", RPCArg::Type::STR, true}, | ||||
}, | }, | ||||
true}, | true}, | ||||
{"rules", | |||||
RPCArg::Type::ARR, | |||||
{ | |||||
{"support", RPCArg::Type::STR, true}, | |||||
}, | |||||
true}, | |||||
}, | }, | ||||
true, | true, | ||||
"\"template_request\""}, | "\"template_request\""}, | ||||
}} | }} | ||||
.ToString() + | .ToString() + | ||||
"\nArguments:\n" | "\nArguments:\n" | ||||
"1. template_request (json object, optional) A json object " | "1. template_request (json object, optional) A json object " | ||||
"in the following spec\n" | "in the following spec\n" | ||||
▲ Show 20 Lines • Show All 500 Lines • Show Last 20 Lines |