Branch data Line data Source code
1 : : // Copyright (c) 2015-present 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 <zmq/zmqabstractnotifier.h>
6 : :
7 : : #include <cassert>
8 : :
9 : 0 : CZMQAbstractNotifier::~CZMQAbstractNotifier()
10 : : {
11 [ # # ]: 0 : assert(!psocket);
12 : 0 : }
13 : :
14 : 0 : bool CZMQAbstractNotifier::NotifyBlock(const CBlockIndex * /*CBlockIndex*/)
15 : : {
16 : 0 : return true;
17 : : }
18 : :
19 : 0 : bool CZMQAbstractNotifier::NotifyTransaction(const CTransaction &/*transaction*/)
20 : : {
21 : 0 : return true;
22 : : }
23 : :
24 : 0 : bool CZMQAbstractNotifier::NotifyBlockConnect(const CBlockIndex * /*CBlockIndex*/)
25 : : {
26 : 0 : return true;
27 : : }
28 : :
29 : 0 : bool CZMQAbstractNotifier::NotifyBlockDisconnect(const CBlockIndex * /*CBlockIndex*/)
30 : : {
31 : 0 : return true;
32 : : }
33 : :
34 : 0 : bool CZMQAbstractNotifier::NotifyTransactionAcceptance(const CTransaction &/*transaction*/, uint64_t mempool_sequence)
35 : : {
36 : 0 : return true;
37 : : }
38 : :
39 : 0 : bool CZMQAbstractNotifier::NotifyTransactionRemoval(const CTransaction &/*transaction*/, uint64_t mempool_sequence)
40 : : {
41 : 0 : return true;
42 : : }
|