Bitcoin ABC 0.26.3
P2P Digital Currency
Loading...
Searching...
No Matches
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
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.
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)
T GetRand(T nMax=std::numeric_limits< T >::max()) noexcept
Generate a uniform random integer of type T in the range [0..nMax) nMax defaults to std::numeric_limi...
Definition random.h:85
assert(!tx.IsCoinBase())