Changeset View
Changeset View
Standalone View
Standalone View
src/zmq/zmqabstractnotifier.cpp
// Copyright (c) 2015 The Bitcoin Core developers | // Copyright (c) 2015 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/zmqabstractnotifier.h> | #include <zmq/zmqabstractnotifier.h> | ||||
#include <cassert> | |||||
const int CZMQAbstractNotifier::DEFAULT_ZMQ_SNDHWM; | const int CZMQAbstractNotifier::DEFAULT_ZMQ_SNDHWM; | ||||
CZMQAbstractNotifier::~CZMQAbstractNotifier() { | CZMQAbstractNotifier::~CZMQAbstractNotifier() { | ||||
assert(!psocket); | assert(!psocket); | ||||
} | } | ||||
bool CZMQAbstractNotifier::NotifyBlock(const CBlockIndex * /*CBlockIndex*/) { | bool CZMQAbstractNotifier::NotifyBlock(const CBlockIndex * /*CBlockIndex*/) { | ||||
return true; | return true; | ||||
} | } | ||||
bool CZMQAbstractNotifier::NotifyTransaction( | bool CZMQAbstractNotifier::NotifyTransaction( | ||||
const CTransaction & /*transaction*/) { | const CTransaction & /*transaction*/) { | ||||
return true; | return true; | ||||
} | } |