Line data Source code
1 : // Copyright (c) 2015 The Bitcoin Core developers 2 : // Distributed under the MIT software license, see the accompanying 3 : // file COPYING or http://www.opensource.org/licenses/mit-license.php. 4 : 5 : #include "zmqabstractnotifier.h" 6 : #include "util/system.h" 7 : 8 : 9 8 : CZMQAbstractNotifier::~CZMQAbstractNotifier() 10 : { 11 4 : assert(!psocket); 12 4 : } 13 : 14 10 : bool CZMQAbstractNotifier::NotifyBlock(const CBlockIndex * /*CBlockIndex*/) 15 : { 16 10 : return true; 17 : } 18 : 19 12 : bool CZMQAbstractNotifier::NotifyTransaction(const CTransaction &/*transaction*/) 20 : { 21 12 : return true; 22 : } 23 :