@@ -47,11 +47,15 @@ static RPCHelpMan gobject_count()
4747 RPCResult{" for mode = json" ,
4848 RPCResult::Type::OBJ, " " , " " ,
4949 {
50- // TODO: list fields of output for RPC help instead ELISION
51- {RPCResult::Type::ELISION, " " , " " }
50+ {RPCResult::Type::NUM, " objects_total" , " Total number of all governance objects" },
51+ {RPCResult::Type::NUM, " proposals" , " Number of governance proposals" },
52+ {RPCResult::Type::NUM, " triggers" , " Number of triggers" },
53+ {RPCResult::Type::NUM, " other" , " Total number of unknowns governance objects" },
54+ {RPCResult::Type::NUM, " erased" , " Number of removed (expired) objects" },
55+ {RPCResult::Type::NUM, " votes" , " Total number of votes" },
5256 }
5357 },
54- RPCResult{" for mode = all" , RPCResult::Type::STR, " " , " The transaction hash in hex " },
58+ RPCResult{" for mode = all" , RPCResult::Type::STR, " " , " Human-friendly summary string for proposals and votes " },
5559 },
5660 RPCExamples{" " },
5761 [&](const RPCHelpMan& self, const JSONRPCRequest& request) -> UniValue
0 commit comments