mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 23:18:14 +01:00
Remove not needed clang-format off comments
Can be reviewed with --word-diff-regex=. --ignore-all-space
This commit is contained in:
@@ -1249,30 +1249,25 @@ static RPCHelpMan estimaterawfee()
|
||||
};
|
||||
}
|
||||
|
||||
void RegisterMiningRPCCommands(CRPCTable &t)
|
||||
void RegisterMiningRPCCommands(CRPCTable& t)
|
||||
{
|
||||
// clang-format off
|
||||
static const CRPCCommand commands[] =
|
||||
{ // category actor (function)
|
||||
// --------------------- -----------------------
|
||||
{ "mining", &getnetworkhashps, },
|
||||
{ "mining", &getmininginfo, },
|
||||
{ "mining", &prioritisetransaction, },
|
||||
{ "mining", &getblocktemplate, },
|
||||
{ "mining", &submitblock, },
|
||||
{ "mining", &submitheader, },
|
||||
static const CRPCCommand commands[]{
|
||||
{"mining", &getnetworkhashps},
|
||||
{"mining", &getmininginfo},
|
||||
{"mining", &prioritisetransaction},
|
||||
{"mining", &getblocktemplate},
|
||||
{"mining", &submitblock},
|
||||
{"mining", &submitheader},
|
||||
|
||||
{"hidden", &generatetoaddress},
|
||||
{"hidden", &generatetodescriptor},
|
||||
{"hidden", &generateblock},
|
||||
|
||||
{ "hidden", &generatetoaddress, },
|
||||
{ "hidden", &generatetodescriptor, },
|
||||
{ "hidden", &generateblock, },
|
||||
{"util", &estimatesmartfee},
|
||||
|
||||
{ "util", &estimatesmartfee, },
|
||||
|
||||
{ "hidden", &estimaterawfee, },
|
||||
{ "hidden", &generate, },
|
||||
};
|
||||
// clang-format on
|
||||
{"hidden", &estimaterawfee},
|
||||
{"hidden", &generate},
|
||||
};
|
||||
for (const auto& c : commands) {
|
||||
t.appendCommand(c.name, &c);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user