Changeset View
Changeset View
Standalone View
Standalone View
src/zmq/zmqnotificationinterface.cpp
// Copyright (c) 2015-2018 The Bitcoin Core developers | // Copyright (c) 2015-2018 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 <zmq/zmqnotificationinterface.h> | #include <zmq/zmqnotificationinterface.h> | ||||
#include <zmq/zmqpublishnotifier.h> | #include <zmq/zmqpublishnotifier.h> | ||||
#include <primitives/block.h> | |||||
#include <util/system.h> | #include <util/system.h> | ||||
#include <validation.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 172 Lines • Show Last 20 Lines |