Changeset View
Changeset View
Standalone View
Standalone View
src/rpc/misc.cpp
Show First 20 Lines • Show All 88 Lines • ▼ Show 20 Lines | RPCHelpMan{ | ||||
"required.\n" | "required.\n" | ||||
"It returns a json object with the address and redeemScript.\n", | "It returns a json object with the address and redeemScript.\n", | ||||
{ | { | ||||
{"nrequired", RPCArg::Type::NUM, RPCArg::Optional::NO, | {"nrequired", RPCArg::Type::NUM, RPCArg::Optional::NO, | ||||
"The number of required signatures out of the n keys."}, | "The number of required signatures out of the n keys."}, | ||||
{"keys", | {"keys", | ||||
RPCArg::Type::ARR, | RPCArg::Type::ARR, | ||||
RPCArg::Optional::NO, | RPCArg::Optional::NO, | ||||
"A json array of hex-encoded public keys.", | "The hex-encoded public keys.", | ||||
{ | { | ||||
{"key", RPCArg::Type::STR_HEX, RPCArg::Optional::OMITTED, | {"key", RPCArg::Type::STR_HEX, RPCArg::Optional::OMITTED, | ||||
"The hex-encoded public key"}, | "The hex-encoded public key"}, | ||||
}}, | }}, | ||||
}, | }, | ||||
RPCResult{ | RPCResult{ | ||||
RPCResult::Type::OBJ, | RPCResult::Type::OBJ, | ||||
"", | "", | ||||
▲ Show 20 Lines • Show All 541 Lines • ▼ Show 20 Lines | RPCHelpMan{ | ||||
"special meanings:\n" | "special meanings:\n" | ||||
" - \"all\", \"1\" : represent all logging categories.\n" | " - \"all\", \"1\" : represent all logging categories.\n" | ||||
" - \"none\", \"0\" : even if other logging categories are " | " - \"none\", \"0\" : even if other logging categories are " | ||||
"specified, ignore all of them.\n", | "specified, ignore all of them.\n", | ||||
{ | { | ||||
{"include", | {"include", | ||||
RPCArg::Type::ARR, | RPCArg::Type::ARR, | ||||
RPCArg::Optional::OMITTED_NAMED_ARG, | RPCArg::Optional::OMITTED_NAMED_ARG, | ||||
"A json array of categories to add debug logging", | "The categories to add to debug logging", | ||||
{ | { | ||||
{"include_category", RPCArg::Type::STR, | {"include_category", RPCArg::Type::STR, | ||||
RPCArg::Optional::OMITTED, "the valid logging category"}, | RPCArg::Optional::OMITTED, "the valid logging category"}, | ||||
}}, | }}, | ||||
{"exclude", | {"exclude", | ||||
RPCArg::Type::ARR, | RPCArg::Type::ARR, | ||||
RPCArg::Optional::OMITTED_NAMED_ARG, | RPCArg::Optional::OMITTED_NAMED_ARG, | ||||
"A json array of categories to remove debug logging", | "The categories to remove from debug logging", | ||||
{ | { | ||||
{"exclude_category", RPCArg::Type::STR, | {"exclude_category", RPCArg::Type::STR, | ||||
RPCArg::Optional::OMITTED, "the valid logging category"}, | RPCArg::Optional::OMITTED, "the valid logging category"}, | ||||
}}, | }}, | ||||
}, | }, | ||||
RPCResult{ | RPCResult{ | ||||
RPCResult::Type::OBJ_DYN, | RPCResult::Type::OBJ_DYN, | ||||
"", | "", | ||||
▲ Show 20 Lines • Show All 99 Lines • Show Last 20 Lines |