Changeset View
Changeset View
Standalone View
Standalone View
src/zmq/zmqnotificationinterface.cpp
// Copyright (c) 2015-2016 The Bitcoin Core developers | // Copyright (c) 2015-2016 The Bitcoin Core developers | ||||
// Distributed under the MIT software license, see the accompanying | // Distributed under the MIT software license, see the accompanying | ||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php. | // file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
#include "zmqnotificationinterface.h" | #include <zmq/zmqnotificationinterface.h> | ||||
#include "zmqpublishnotifier.h" | #include <zmq/zmqpublishnotifier.h> | ||||
#include "streams.h" | #include <streams.h> | ||||
#include "util.h" | #include <util.h> | ||||
#include "validation.h" | #include <validation.h> | ||||
#include "version.h" | #include <version.h> | ||||
void zmqError(const char *str) { | void zmqError(const char *str) { | ||||
LogPrint(BCLog::ZMQ, "zmq: Error: %s, errno=%s\n", str, | LogPrint(BCLog::ZMQ, "zmq: Error: %s, errno=%s\n", str, | ||||
zmq_strerror(errno)); | zmq_strerror(errno)); | ||||
} | } | ||||
CZMQNotificationInterface::CZMQNotificationInterface() : pcontext(nullptr) {} | CZMQNotificationInterface::CZMQNotificationInterface() : pcontext(nullptr) {} | ||||
▲ Show 20 Lines • Show All 151 Lines • Show Last 20 Lines |