Changeset View
Changeset View
Standalone View
Standalone View
src/zmq/zmqabstractnotifier.h
// Copyright (c) 2015 The Bitcoin Core developers | // Copyright (c) 2015 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_ZMQABSTRACTNOTIFIER_H | #ifndef BITCOIN_ZMQ_ZMQABSTRACTNOTIFIER_H | ||||
#define BITCOIN_ZMQ_ZMQABSTRACTNOTIFIER_H | #define BITCOIN_ZMQ_ZMQABSTRACTNOTIFIER_H | ||||
#include <zmq/zmqconfig.h> | |||||
#include <memory> | #include <memory> | ||||
#include <string> | |||||
class CBlockIndex; | class CBlockIndex; | ||||
class CTransaction; | |||||
class CZMQAbstractNotifier; | class CZMQAbstractNotifier; | ||||
using CZMQNotifierFactory = std::unique_ptr<CZMQAbstractNotifier> (*)(); | using CZMQNotifierFactory = std::unique_ptr<CZMQAbstractNotifier> (*)(); | ||||
class CZMQAbstractNotifier { | class CZMQAbstractNotifier { | ||||
public: | public: | ||||
static const int DEFAULT_ZMQ_SNDHWM{1000}; | static const int DEFAULT_ZMQ_SNDHWM{1000}; | ||||
Show All 37 Lines |