19 "\nReturns information about the active ZeroMQ notifications.\n",
42 obj.pushKV(
"type", n->GetType());
43 obj.pushKV(
"address", n->GetAddress());
44 obj.pushKV(
"hwm", n->GetOutboundMessageHighWaterMark());
45 result.push_back(obj);
57 {
"zmq",
"getzmqnotifications", &getzmqnotifications, {} },
64 for (
const auto& c : commands) {
void appendCommand(const std::string &name, const CRPCCommand *pcmd)
Appends a CRPCCommand to the dispatch table.
std::string HelpExampleRpc(const std::string &methodname, const std::string &args)
void RegisterZMQRPCCommands(CRPCTable &t)
std::string HelpExampleCli(const std::string &methodname, const std::string &args)
std::list< const CZMQAbstractNotifier * > GetActiveNotifiers() const
CZMQNotificationInterface * g_zmq_notification_interface