You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fa9aaf8 scripted-diff: Use named args in RPC docs (MarcoFalke)
Pull request description:
Incorrect named args are source of bugs, like #22979.
To allow them being checked by `clang-tidy`, use a format it can understand.
ACKs for top commit:
fanquake:
ACK fa9aaf8 - checked `clang-tidy` and it's fine here, (but throwing errors in other files. i.e `wallet/test/wallet_tests.cpp`).
Tree-SHA512: e09dae8ee999a5c4819e6f848c12139593ca0e915e645c8fabeb97c379188fb9104d286c02c71f590abc64cdec125f78026735f83e016111976baa49d588a9bc
{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"},
0 commit comments