161e8d40a4
This adds a new RPC method "getzmqnotifications", which returns information about all active ZMQ notification endpoints. This is useful for software that layers on top of bitcoind, so it can verify that ZeroMQ is enabled and also figure out where it should listen. See https://github.com/bitcoin/bitcoin/issues/13526.
12 lines
342 B
C++
12 lines
342 B
C++
// Copyright (c) 2018 The Bitcoin Core developers
|
|
// Distributed under the MIT software license, see the accompanying
|
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
#ifndef BITCOIN_ZMQ_ZMQRPC_H
|
|
#define BITCOIN_ZMQ_ZMQRPC_H
|
|
|
|
class CRPCTable;
|
|
|
|
void RegisterZMQRPCCommands(CRPCTable& t);
|
|
|
|
#endif // BITCOIN_ZMQ_ZMRRPC_H
|