Bitcoin ABC  0.24.7
P2P Digital Currency
zmqabstractnotifier.cpp
Go to the documentation of this file.
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 
6 
7 #include <cassert>
8 
10 
12  assert(!psocket);
13 }
14 
15 bool CZMQAbstractNotifier::NotifyBlock(const CBlockIndex * /*CBlockIndex*/) {
16  return true;
17 }
18 
20  const CTransaction & /*transaction*/) {
21  return true;
22 }
23 
25  const CBlockIndex * /*CBlockIndex*/) {
26  return true;
27 }
28 
30  const CBlockIndex * /*CBlockIndex*/) {
31  return true;
32 }
33 
35  const CTransaction & /*transaction*/, uint64_t mempool_sequence) {
36  return true;
37 }
38 
40  const CTransaction & /*transaction*/, uint64_t mempool_sequence) {
41  return true;
42 }
zmqabstractnotifier.h
CZMQAbstractNotifier::NotifyBlockDisconnect
virtual bool NotifyBlockDisconnect(const CBlockIndex *pindex)
Definition: zmqabstractnotifier.cpp:29
CZMQAbstractNotifier::DEFAULT_ZMQ_SNDHWM
static const int DEFAULT_ZMQ_SNDHWM
Definition: zmqabstractnotifier.h:19
CZMQAbstractNotifier::NotifyTransactionAcceptance
virtual bool NotifyTransactionAcceptance(const CTransaction &transaction, uint64_t mempool_sequence)
Definition: zmqabstractnotifier.cpp:34
CTransaction
The basic transaction that is broadcasted on the network and contained in blocks.
Definition: transaction.h:194
CZMQAbstractNotifier::psocket
void * psocket
Definition: zmqabstractnotifier.h:63
CZMQAbstractNotifier::~CZMQAbstractNotifier
virtual ~CZMQAbstractNotifier()
Definition: zmqabstractnotifier.cpp:11
CZMQAbstractNotifier::NotifyTransactionRemoval
virtual bool NotifyTransactionRemoval(const CTransaction &transaction, uint64_t mempool_sequence)
Definition: zmqabstractnotifier.cpp:39
CZMQAbstractNotifier::NotifyTransaction
virtual bool NotifyTransaction(const CTransaction &transaction)
Definition: zmqabstractnotifier.cpp:19
CZMQAbstractNotifier::NotifyBlockConnect
virtual bool NotifyBlockConnect(const CBlockIndex *pindex)
Definition: zmqabstractnotifier.cpp:24
CZMQAbstractNotifier::NotifyBlock
virtual bool NotifyBlock(const CBlockIndex *pindex)
Definition: zmqabstractnotifier.cpp:15
CBlockIndex
The block chain is a tree shaped structure starting with the genesis block at the root,...
Definition: blockindex.h:23