diff options
author | Daniel Kraft <d@domob.eu> | 2018-06-29 15:16:31 +0200 |
---|---|---|
committer | Daniel Kraft <d@domob.eu> | 2018-06-29 15:16:31 +0200 |
commit | caac39b0ace38aa088d88c1a5a9a9dbb4d2e893f (patch) | |
tree | 2d9ed99589f634d257f7c8fc644a2b9456785ba0 /share | |
parent | 2643fa50869f22672cbc72ac497d9c30234075b8 (diff) |
Make ZMQ notification interface instance global.
This moves the used instance of CZMQNotificationInterface from a static
variable in init.cpp to a globally-accessible one declared in
zmq/zmqnotificationinterface.h. The variable is also renamed to
g_zmq_notification_interface, to be consistent with other globals.
We need this to implement a new RPC method "getzmqnotifications" (see
https://github.com/bitcoin/bitcoin/issues/13526) in a follow up.
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions