mirror of
https://github.com/bitcoin/bitcoin.git
synced 2024-05-17 23:56:39 +00:00
Bugfix: RPC: Remove quotes from non-string oneline descriptions
This commit is contained in:
parent
d23fda0584
commit
7c61e9df90
@ -2312,7 +2312,7 @@ static RPCHelpMan scanblocks()
|
|||||||
{
|
{
|
||||||
{"filter_false_positives", RPCArg::Type::BOOL, RPCArg::Default{false}, "Filter false positives (slower and may fail on pruned nodes). Otherwise they may occur at a rate of 1/M"},
|
{"filter_false_positives", RPCArg::Type::BOOL, RPCArg::Default{false}, "Filter false positives (slower and may fail on pruned nodes). Otherwise they may occur at a rate of 1/M"},
|
||||||
},
|
},
|
||||||
RPCArgOptions{.oneline_description="\"options\""}},
|
RPCArgOptions{.oneline_description="options"}},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
scan_result_status_none,
|
scan_result_status_none,
|
||||||
|
@ -569,7 +569,7 @@ static RPCHelpMan getblocktemplate()
|
|||||||
{"longpollid", RPCArg::Type::STR, RPCArg::Optional::OMITTED, "delay processing request until the result would vary significantly from the \"longpollid\" of a prior template"},
|
{"longpollid", RPCArg::Type::STR, RPCArg::Optional::OMITTED, "delay processing request until the result would vary significantly from the \"longpollid\" of a prior template"},
|
||||||
{"data", RPCArg::Type::STR_HEX, RPCArg::Optional::OMITTED, "proposed block data to check, encoded in hexadecimal; valid only for mode=\"proposal\""},
|
{"data", RPCArg::Type::STR_HEX, RPCArg::Optional::OMITTED, "proposed block data to check, encoded in hexadecimal; valid only for mode=\"proposal\""},
|
||||||
},
|
},
|
||||||
RPCArgOptions{.oneline_description="\"template_request\""}},
|
RPCArgOptions{.oneline_description="template_request"}},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
RPCResult{"If the proposal was accepted with mode=='proposal'", RPCResult::Type::NONE, "", ""},
|
RPCResult{"If the proposal was accepted with mode=='proposal'", RPCResult::Type::NONE, "", ""},
|
||||||
|
@ -1297,12 +1297,12 @@ RPCHelpMan importmulti()
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
RPCArgOptions{.oneline_description="\"requests\""}},
|
RPCArgOptions{.oneline_description="requests"}},
|
||||||
{"options", RPCArg::Type::OBJ_NAMED_PARAMS, RPCArg::Optional::OMITTED, "",
|
{"options", RPCArg::Type::OBJ_NAMED_PARAMS, RPCArg::Optional::OMITTED, "",
|
||||||
{
|
{
|
||||||
{"rescan", RPCArg::Type::BOOL, RPCArg::Default{true}, "Scan the chain and mempool for wallet transactions after all imports."},
|
{"rescan", RPCArg::Type::BOOL, RPCArg::Default{true}, "Scan the chain and mempool for wallet transactions after all imports."},
|
||||||
},
|
},
|
||||||
RPCArgOptions{.oneline_description="\"options\""}},
|
RPCArgOptions{.oneline_description="options"}},
|
||||||
},
|
},
|
||||||
RPCResult{
|
RPCResult{
|
||||||
RPCResult::Type::ARR, "", "Response is an array with the same size as the input that has the execution result",
|
RPCResult::Type::ARR, "", "Response is an array with the same size as the input that has the execution result",
|
||||||
@ -1617,7 +1617,7 @@ RPCHelpMan importdescriptors()
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
RPCArgOptions{.oneline_description="\"requests\""}},
|
RPCArgOptions{.oneline_description="requests"}},
|
||||||
},
|
},
|
||||||
RPCResult{
|
RPCResult{
|
||||||
RPCResult::Type::ARR, "", "Response is an array with the same size as the input that has the execution result",
|
RPCResult::Type::ARR, "", "Response is an array with the same size as the input that has the execution result",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user