@@ -412,8 +412,8 @@ static RPCHelpMan getmininginfo()
412
412
RPCResult::Type::OBJ, " " , " " ,
413
413
{
414
414
{RPCResult::Type::NUM, " blocks" , " The current block" },
415
- {RPCResult::Type::NUM, " currentblockweight" , /* optional */ true , " The block weight of the last assembled block (only present if a block was ever assembled)" },
416
- {RPCResult::Type::NUM, " currentblocktx" , /* optional */ true , " The number of block transactions of the last assembled block (only present if a block was ever assembled)" },
415
+ {RPCResult::Type::NUM, " currentblockweight" , /* optional= */ true , " The block weight of the last assembled block (only present if a block was ever assembled)" },
416
+ {RPCResult::Type::NUM, " currentblocktx" , /* optional= */ true , " The number of block transactions of the last assembled block (only present if a block was ever assembled)" },
417
417
{RPCResult::Type::NUM, " difficulty" , " The current difficulty" },
418
418
{RPCResult::Type::NUM, " networkhashps" , " The network hashes per second" },
419
419
{RPCResult::Type::NUM, " pooledtx" , " The size of the mempool" },
@@ -590,12 +590,12 @@ static RPCHelpMan getblocktemplate()
590
590
{RPCResult::Type::STR_HEX, " noncerange" , " A range of valid nonces" },
591
591
{RPCResult::Type::NUM, " sigoplimit" , " limit of sigops in blocks" },
592
592
{RPCResult::Type::NUM, " sizelimit" , " limit of block size" },
593
- {RPCResult::Type::NUM, " weightlimit" , /* optional */ true , " limit of block weight" },
593
+ {RPCResult::Type::NUM, " weightlimit" , /* optional= */ true , " limit of block weight" },
594
594
{RPCResult::Type::NUM_TIME, " curtime" , " current timestamp in " + UNIX_EPOCH_TIME},
595
595
{RPCResult::Type::STR, " bits" , " compressed target of next block" },
596
596
{RPCResult::Type::NUM, " height" , " The height of the next block" },
597
- {RPCResult::Type::STR_HEX, " signet_challenge" , /* optional */ true , " Only on signet" },
598
- {RPCResult::Type::STR_HEX, " default_witness_commitment" , /* optional */ true , " a valid witness commitment for the unmodified block template" },
597
+ {RPCResult::Type::STR_HEX, " signet_challenge" , /* optional= */ true , " Only on signet" },
598
+ {RPCResult::Type::STR_HEX, " default_witness_commitment" , /* optional= */ true , " a valid witness commitment for the unmodified block template" },
599
599
}},
600
600
},
601
601
RPCExamples{
@@ -1082,8 +1082,8 @@ static RPCHelpMan estimatesmartfee()
1082
1082
RPCResult{
1083
1083
RPCResult::Type::OBJ, " " , " " ,
1084
1084
{
1085
- {RPCResult::Type::NUM, " feerate" , /* optional */ true , " estimate fee rate in " + CURRENCY_UNIT + " /kvB (only present if no errors were encountered)" },
1086
- {RPCResult::Type::ARR, " errors" , /* optional */ true , " Errors encountered during processing (if there are any)" ,
1085
+ {RPCResult::Type::NUM, " feerate" , /* optional= */ true , " estimate fee rate in " + CURRENCY_UNIT + " /kvB (only present if no errors were encountered)" },
1086
+ {RPCResult::Type::ARR, " errors" , /* optional= */ true , " Errors encountered during processing (if there are any)" ,
1087
1087
{
1088
1088
{RPCResult::Type::STR, " " , " error" },
1089
1089
}},
@@ -1155,12 +1155,12 @@ static RPCHelpMan estimaterawfee()
1155
1155
RPCResult{
1156
1156
RPCResult::Type::OBJ, " " , " Results are returned for any horizon which tracks blocks up to the confirmation target" ,
1157
1157
{
1158
- {RPCResult::Type::OBJ, " short" , /* optional */ true , " estimate for short time horizon" ,
1158
+ {RPCResult::Type::OBJ, " short" , /* optional= */ true , " estimate for short time horizon" ,
1159
1159
{
1160
- {RPCResult::Type::NUM, " feerate" , /* optional */ true , " estimate fee rate in " + CURRENCY_UNIT + " /kvB" },
1160
+ {RPCResult::Type::NUM, " feerate" , /* optional= */ true , " estimate fee rate in " + CURRENCY_UNIT + " /kvB" },
1161
1161
{RPCResult::Type::NUM, " decay" , " exponential decay (per block) for historical moving average of confirmation data" },
1162
1162
{RPCResult::Type::NUM, " scale" , " The resolution of confirmation targets at this time horizon" },
1163
- {RPCResult::Type::OBJ, " pass" , /* optional */ true , " information about the lowest range of feerates to succeed in meeting the threshold" ,
1163
+ {RPCResult::Type::OBJ, " pass" , /* optional= */ true , " information about the lowest range of feerates to succeed in meeting the threshold" ,
1164
1164
{
1165
1165
{RPCResult::Type::NUM, " startrange" , " start of feerate range" },
1166
1166
{RPCResult::Type::NUM, " endrange" , " end of feerate range" },
@@ -1169,20 +1169,20 @@ static RPCHelpMan estimaterawfee()
1169
1169
{RPCResult::Type::NUM, " inmempool" , " current number of txs in mempool in the feerate range unconfirmed for at least target blocks" },
1170
1170
{RPCResult::Type::NUM, " leftmempool" , " number of txs over history horizon in the feerate range that left mempool unconfirmed after target" },
1171
1171
}},
1172
- {RPCResult::Type::OBJ, " fail" , /* optional */ true , " information about the highest range of feerates to fail to meet the threshold" ,
1172
+ {RPCResult::Type::OBJ, " fail" , /* optional= */ true , " information about the highest range of feerates to fail to meet the threshold" ,
1173
1173
{
1174
1174
{RPCResult::Type::ELISION, " " , " " },
1175
1175
}},
1176
- {RPCResult::Type::ARR, " errors" , /* optional */ true , " Errors encountered during processing (if there are any)" ,
1176
+ {RPCResult::Type::ARR, " errors" , /* optional= */ true , " Errors encountered during processing (if there are any)" ,
1177
1177
{
1178
1178
{RPCResult::Type::STR, " error" , " " },
1179
1179
}},
1180
1180
}},
1181
- {RPCResult::Type::OBJ, " medium" , /* optional */ true , " estimate for medium time horizon" ,
1181
+ {RPCResult::Type::OBJ, " medium" , /* optional= */ true , " estimate for medium time horizon" ,
1182
1182
{
1183
1183
{RPCResult::Type::ELISION, " " , " " },
1184
1184
}},
1185
- {RPCResult::Type::OBJ, " long" , /* optional */ true , " estimate for long time horizon" ,
1185
+ {RPCResult::Type::OBJ, " long" , /* optional= */ true , " estimate for long time horizon" ,
1186
1186
{
1187
1187
{RPCResult::Type::ELISION, " " , " " },
1188
1188
}},
0 commit comments