void RegisterMiscRPCCommands(CRPCTable &t) { for (unsigned int vcidx = 0; vcidx < ARRAYLEN(commands); vcidx++) t.appendCommand(commands[vcidx].name, &commands[vcidx]); }
void RegisterZMQRPCCommands(CRPCTable& t) { for (const auto& c : commands) { t.appendCommand(c.name, &c); } }