5#ifndef BITCOIN_ZMQ_ZMQPUBLISHNOTIFIER_H
6#define BITCOIN_ZMQ_ZMQPUBLISHNOTIFIER_H
27 bool SendZmqMessage(
const char *command,
const void *data,
size_t size);
65 uint64_t mempool_sequence)
override;
67 uint64_t mempool_sequence)
override;
The block chain is a tree shaped structure starting with the genesis block at the root,...
The basic transaction that is broadcasted on the network and contained in blocks.
bool SendZmqMessage(const char *command, const void *data, size_t size)
uint32_t nSequence
upcounting per message sequence number
bool Initialize(void *pcontext) override
bool NotifyBlock(const CBlockIndex *pindex) override
bool NotifyTransaction(const CTransaction &transaction) override
bool NotifyBlock(const CBlockIndex *pindex) override
const std::function< bool(CBlock &, const CBlockIndex &)> m_get_block_by_index
CZMQPublishRawBlockNotifier(std::function< bool(CBlock &, const CBlockIndex &)> get_block_by_index)
bool NotifyTransaction(const CTransaction &transaction) override
bool NotifyTransactionAcceptance(const CTransaction &transaction, uint64_t mempool_sequence) override
bool NotifyTransactionRemoval(const CTransaction &transaction, uint64_t mempool_sequence) override
bool NotifyBlockConnect(const CBlockIndex *pindex) override
bool NotifyBlockDisconnect(const CBlockIndex *pindex) override
Implement std::hash so RCUPtr can be used as a key for maps or sets.