Changeset View
Changeset View
Standalone View
Standalone View
src/zmq/zmqpublishnotifier.cpp
// 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. | ||||
#include <zmq/zmqpublishnotifier.h> | #include <zmq/zmqpublishnotifier.h> | ||||
#include <blockdb.h> | #include <blockdb.h> | ||||
#include <chain.h> | #include <chain.h> | ||||
#include <chainparams.h> | #include <chainparams.h> | ||||
#include <config.h> | #include <config.h> | ||||
#include <primitives/blockhash.h> | #include <primitives/blockhash.h> | ||||
#include <primitives/txid.h> | #include <primitives/txid.h> | ||||
#include <rpc/server.h> | #include <rpc/server.h> | ||||
#include <streams.h> | #include <streams.h> | ||||
#include <util/system.h> | #include <util/system.h> | ||||
#include <zmq.h> | |||||
#include <cstdarg> | #include <cstdarg> | ||||
#include <cstddef> | |||||
#include <map> | |||||
#include <string> | |||||
#include <utility> | |||||
static std::multimap<std::string, CZMQAbstractPublishNotifier *> | static std::multimap<std::string, CZMQAbstractPublishNotifier *> | ||||
mapPublishNotifiers; | mapPublishNotifiers; | ||||
static const char *MSG_HASHBLOCK = "hashblock"; | static const char *MSG_HASHBLOCK = "hashblock"; | ||||
static const char *MSG_HASHTX = "hashtx"; | static const char *MSG_HASHTX = "hashtx"; | ||||
static const char *MSG_RAWBLOCK = "rawblock"; | static const char *MSG_RAWBLOCK = "rawblock"; | ||||
static const char *MSG_RAWTX = "rawtx"; | static const char *MSG_RAWTX = "rawtx"; | ||||
▲ Show 20 Lines • Show All 192 Lines • Show Last 20 Lines |