Bitcoin Core  0.20.99
P2P Digital Currency
zmqabstractnotifier.cpp
Go to the documentation of this file.
1 // Copyright (c) 2015-2019 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 {
13  assert(!psocket);
14 }
15 
16 bool CZMQAbstractNotifier::NotifyBlock(const CBlockIndex * /*CBlockIndex*/)
17 {
18  return true;
19 }
20 
22 {
23  return true;
24 }
25 
27 {
28  return true;
29 }
30 
32 {
33  return true;
34 }
35 
36 bool CZMQAbstractNotifier::NotifyTransactionAcceptance(const CTransaction &/*transaction*/, uint64_t mempool_sequence)
37 {
38  return true;
39 }
40 
41 bool CZMQAbstractNotifier::NotifyTransactionRemoval(const CTransaction &/*transaction*/, uint64_t mempool_sequence)
42 {
43  return true;
44 }
virtual bool NotifyBlockDisconnect(const CBlockIndex *pindex)
virtual bool NotifyBlock(const CBlockIndex *pindex)
virtual bool NotifyTransactionRemoval(const CTransaction &transaction, uint64_t mempool_sequence)
virtual bool NotifyBlockConnect(const CBlockIndex *pindex)
virtual bool NotifyTransaction(const CTransaction &transaction)
static const int DEFAULT_ZMQ_SNDHWM
The block chain is a tree shaped structure starting with the genesis block at the root...
Definition: chain.h:137
virtual bool NotifyTransactionAcceptance(const CTransaction &transaction, uint64_t mempool_sequence)
The basic transaction that is broadcasted on the network and contained in blocks. ...
Definition: transaction.h:259