0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-02 09:46:52 -05:00

iwyu: Add zmq source files

This commit is contained in:
Hennadii Stepanov 2022-09-15 12:08:45 +01:00
parent a23f8c8978
commit 13afcc0cd4
No known key found for this signature in database
GPG key ID: 410108112E7EA81F
7 changed files with 44 additions and 4 deletions

View file

@ -68,6 +68,7 @@ if [ "${RUN_TIDY}" = "true" ]; then
" src/util/string.cpp"\
" src/util/syserror.cpp"\
" src/util/url.cpp"\
" src/zmq"\
" -p . ${MAKEJOBS} -- -Xiwyu --cxx17ns -Xiwyu --mapping_file=${BASE_BUILD_DIR}/bitcoin-$HOST/contrib/devtools/iwyu/bitcoin.core.imp"
fi

View file

@ -5,7 +5,7 @@
#ifndef BITCOIN_ZMQ_ZMQABSTRACTNOTIFIER_H
#define BITCOIN_ZMQ_ZMQABSTRACTNOTIFIER_H
#include <cstdint>
#include <memory>
#include <string>

View file

@ -3,13 +3,23 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <zmq/zmqnotificationinterface.h>
#include <logging.h>
#include <primitives/block.h>
#include <primitives/transaction.h>
#include <util/system.h>
#include <validationinterface.h>
#include <zmq/zmqabstractnotifier.h>
#include <zmq/zmqpublishnotifier.h>
#include <zmq/zmqutil.h>
#include <zmq.h>
#include <primitives/block.h>
#include <util/system.h>
#include <cassert>
#include <map>
#include <string>
#include <utility>
#include <vector>
CZMQNotificationInterface::CZMQNotificationInterface() : pcontext(nullptr)
{

View file

@ -5,10 +5,14 @@
#ifndef BITCOIN_ZMQ_ZMQNOTIFICATIONINTERFACE_H
#define BITCOIN_ZMQ_ZMQNOTIFICATIONINTERFACE_H
#include <primitives/transaction.h>
#include <validationinterface.h>
#include <cstdint>
#include <list>
#include <memory>
class CBlock;
class CBlockIndex;
class CZMQAbstractNotifier;

View file

@ -6,21 +6,37 @@
#include <chain.h>
#include <chainparams.h>
#include <crypto/common.h>
#include <logging.h>
#include <netaddress.h>
#include <netbase.h>
#include <node/blockstorage.h>
#include <primitives/block.h>
#include <primitives/transaction.h>
#include <rpc/server.h>
#include <serialize.h>
#include <streams.h>
#include <util/system.h>
#include <sync.h>
#include <uint256.h>
#include <version.h>
#include <zmq/zmqutil.h>
#include <zmq.h>
#include <cassert>
#include <cstdarg>
#include <cstddef>
#include <cstdint>
#include <cstring>
#include <map>
#include <optional>
#include <string>
#include <utility>
#include <vector>
namespace Consensus {
struct Params;
}
using node::ReadBlockFromDisk;

View file

@ -7,7 +7,11 @@
#include <zmq/zmqabstractnotifier.h>
#include <cstddef>
#include <cstdint>
class CBlockIndex;
class CTransaction;
class CZMQAbstractPublishNotifier : public CZMQAbstractNotifier
{

View file

@ -11,6 +11,11 @@
#include <univalue.h>
#include <list>
#include <string>
class JSONRPCRequest;
namespace {
static RPCHelpMan getzmqnotifications()