Changeset View
Changeset View
Standalone View
Standalone View
src/zmq/zmqpublishnotifier.h
// Copyright (c) 2015-2016 The Bitcoin Core developers | // Copyright (c) 2015-2016 The Bitcoin Core developers | ||||
// Distributed under the MIT software license, see the accompanying | // Distributed under the MIT software license, see the accompanying | ||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php. | // file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
#ifndef BITCOIN_ZMQ_ZMQPUBLISHNOTIFIER_H | #ifndef BITCOIN_ZMQ_ZMQPUBLISHNOTIFIER_H | ||||
#define BITCOIN_ZMQ_ZMQPUBLISHNOTIFIER_H | #define BITCOIN_ZMQ_ZMQPUBLISHNOTIFIER_H | ||||
#include <zmq/zmqabstractnotifier.h> | #include <zmq/zmqabstractnotifier.h> | ||||
class CBlockIndex; | class CBlockIndex; | ||||
class CZMQAbstractPublishNotifier : public CZMQAbstractNotifier { | class CZMQAbstractPublishNotifier : public CZMQAbstractNotifier { | ||||
private: | private: | ||||
//!< upcounting per message sequence number | //! upcounting per message sequence number | ||||
uint32_t nSequence; | uint32_t nSequence; | ||||
public: | public: | ||||
/* send zmq multipart message | /* send zmq multipart message | ||||
parts: | parts: | ||||
* command | * command | ||||
* data | * data | ||||
* message sequence number | * message sequence number | ||||
Show All 28 Lines |