Changeset View
Changeset View
Standalone View
Standalone View
src/rpc/mining.cpp
Show First 20 Lines • Show All 602 Lines • ▼ Show 20 Lines | RPCHelpMan{ | ||||
" " | " " | ||||
"https://github.com/bitcoin/bips/blob/master/" | "https://github.com/bitcoin/bips/blob/master/" | ||||
"bip-0009.mediawiki#getblocktemplate_changes\n" | "bip-0009.mediawiki#getblocktemplate_changes\n" | ||||
" ", | " ", | ||||
{ | { | ||||
{"template_request", | {"template_request", | ||||
RPCArg::Type::OBJ, | RPCArg::Type::OBJ, | ||||
"{}", | "{}", | ||||
"A json object in the following spec", | "Format of the template", | ||||
{ | { | ||||
{"mode", RPCArg::Type::STR, /* treat as named arg */ | {"mode", RPCArg::Type::STR, /* treat as named arg */ | ||||
RPCArg::Optional::OMITTED_NAMED_ARG, | RPCArg::Optional::OMITTED_NAMED_ARG, | ||||
"This must be set to \"template\", \"proposal\" (see BIP " | "This must be set to \"template\", \"proposal\" (see BIP " | ||||
"23), or omitted"}, | "23), or omitted"}, | ||||
{ | { | ||||
"capabilities", | "capabilities", | ||||
RPCArg::Type::ARR, | RPCArg::Type::ARR, | ||||
▲ Show 20 Lines • Show All 554 Lines • Show Last 20 Lines |