fix: format code for rpc governance

This commit is contained in:
Konstantin Akimov 2024-06-22 12:00:50 +07:00
parent 006242114f
commit 39cd5e41b1
No known key found for this signature in database
GPG Key ID: 2176C4A5D01EA524

View File

@ -1116,24 +1116,24 @@ static const CRPCCommand commands[] =
{ // category name actor (function) argNames
// --------------------- ------------------------ ----------------------- ----------
/* Dash features */
{ "dash", "getgovernanceinfo", &getgovernanceinfo, {} },
{ "dash", "getsuperblockbudget", &getsuperblockbudget, {"index"} },
{ "dash", "gobject", &gobject, {"command"} },
{ "dash", "gobject", "count", &gobject_count, {"mode"} },
{ "dash", "gobject", "deserialize", &gobject_deserialize, {"hex_data"} },
{ "dash", "gobject", "check", &gobject_check, {"hex_data"} },
{ "dash", "getgovernanceinfo", &getgovernanceinfo, {} },
{ "dash", "getsuperblockbudget", &getsuperblockbudget, {"index"} },
{ "dash", "gobject", &gobject, {"command"} },
{ "dash", "gobject", "count", &gobject_count, {"mode"} },
{ "dash", "gobject", "deserialize", &gobject_deserialize, {"hex_data"} },
{ "dash", "gobject", "check", &gobject_check, {"hex_data"} },
#ifdef ENABLE_WALLET
{ "dash", "gobject", "prepare", &gobject_prepare, {"parent-hash", "revision", "time", "data-hex", "use-IS", "outputHash", "outputIndex"} },
{ "dash", "gobject", "list-prepared", &gobject_list_prepared, {"count"} },
{ "dash", "gobject", "vote-many", &gobject_vote_many, {"governance-hash", "vote", "vote-outcome"} },
{ "dash", "gobject", "vote-alias", &gobject_vote_alias, {"governance-hash", "vote", "vote-outcome", "protx-hash"} },
{ "dash", "gobject", "prepare", &gobject_prepare, {"parent-hash", "revision", "time", "data-hex", "use-IS", "outputHash", "outputIndex"} },
{ "dash", "gobject", "list-prepared", &gobject_list_prepared, {"count"} },
{ "dash", "gobject", "vote-many", &gobject_vote_many, {"governance-hash", "vote", "vote-outcome"} },
{ "dash", "gobject", "vote-alias", &gobject_vote_alias, {"governance-hash", "vote", "vote-outcome", "protx-hash"} },
#endif
{ "dash", "gobject", "submit", &gobject_submit, {"parent-hash", "revision", "time", "data-hex", "fee-txid"} },
{ "dash", "gobject", "list", &gobject_list, {"signal", "type"} },
{ "dash", "gobject", "diff", &gobject_diff, {"signal", "type"} },
{ "dash", "gobject", "get", &gobject_get, {"governance-hash"} },
{ "dash", "gobject", "getcurrentvotes", &gobject_getcurrentvotes, {"governance-hash", "txid", "vout"} },
{ "dash", "voteraw", &voteraw, {"mn-collateral-tx-hash","mn-collateral-tx-index","governance-hash","vote-signal","vote-outcome","time","vote-sig"} },
{ "dash", "gobject", "submit", &gobject_submit, {"parent-hash", "revision", "time", "data-hex", "fee-txid"} },
{ "dash", "gobject", "list", &gobject_list, {"signal", "type"} },
{ "dash", "gobject", "diff", &gobject_diff, {"signal", "type"} },
{ "dash", "gobject", "get", &gobject_get, {"governance-hash"} },
{ "dash", "gobject", "getcurrentvotes", &gobject_getcurrentvotes, {"governance-hash", "txid", "vout"} },
{ "dash", "voteraw", &voteraw, {"mn-collateral-tx-hash","mn-collateral-tx-index","governance-hash","vote-signal","vote-outcome","time","vote-sig"} },
};
// clang-format on