Bitcoin ABC 0.30.5
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
13}
14
15bool 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}
The block chain is a tree shaped structure starting with the genesis block at the root,...
Definition: blockindex.h:25
The basic transaction that is broadcasted on the network and contained in blocks.
Definition: transaction.h:192
virtual bool NotifyBlockConnect(const CBlockIndex *pindex)
static const int DEFAULT_ZMQ_SNDHWM
virtual bool NotifyTransactionRemoval(const CTransaction &transaction, uint64_t mempool_sequence)
virtual bool NotifyBlock(const CBlockIndex *pindex)
virtual bool NotifyTransaction(const CTransaction &transaction)
virtual bool NotifyBlockDisconnect(const CBlockIndex *pindex)
virtual bool NotifyTransactionAcceptance(const CTransaction &transaction, uint64_t mempool_sequence)
assert(!tx.IsCoinBase())