mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-09 19:37:27 -03:00
Remove unused includes from blockfilter.h
This removes unused includes, primitives/block found manually, and the others by iwyu: blockfilter.h should remove these lines: - #include <serialize.h> // lines 16-16 - #include <undo.h> // lines 18-18
This commit is contained in:
parent
fad8c36aa9
commit
fa8fdbe229
8 changed files with 19 additions and 5 deletions
|
@ -8,9 +8,11 @@
|
|||
#include <blockfilter.h>
|
||||
#include <crypto/siphash.h>
|
||||
#include <hash.h>
|
||||
#include <primitives/block.h>
|
||||
#include <primitives/transaction.h>
|
||||
#include <script/script.h>
|
||||
#include <streams.h>
|
||||
#include <undo.h>
|
||||
#include <util/golombrice.h>
|
||||
#include <util/string.h>
|
||||
|
||||
|
|
|
@ -5,19 +5,22 @@
|
|||
#ifndef BITCOIN_BLOCKFILTER_H
|
||||
#define BITCOIN_BLOCKFILTER_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <string>
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
#include <ios>
|
||||
#include <set>
|
||||
#include <string>
|
||||
#include <unordered_set>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include <attributes.h>
|
||||
#include <primitives/block.h>
|
||||
#include <serialize.h>
|
||||
#include <uint256.h>
|
||||
#include <undo.h>
|
||||
#include <util/bytevectorhash.h>
|
||||
|
||||
class CBlock;
|
||||
class CBlockUndo;
|
||||
|
||||
/**
|
||||
* This implements a Golomb-coded set as defined in BIP 158. It is a
|
||||
* compact, probabilistic data structure for testing set membership.
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
#include <index/blockfilterindex.h>
|
||||
#include <logging.h>
|
||||
#include <node/blockstorage.h>
|
||||
#include <undo.h>
|
||||
#include <util/fs_helpers.h>
|
||||
#include <validation.h>
|
||||
|
||||
|
|
|
@ -12,6 +12,8 @@
|
|||
#include <index/base.h>
|
||||
#include <util/hasher.h>
|
||||
|
||||
#include <unordered_map>
|
||||
|
||||
static const char* const DEFAULT_BLOCKFILTERINDEX = "0";
|
||||
|
||||
/** Interval between compact filter checkpoints. See BIP 157. */
|
||||
|
|
|
@ -7,8 +7,10 @@
|
|||
|
||||
#include <blockfilter.h>
|
||||
#include <core_io.h>
|
||||
#include <primitives/block.h>
|
||||
#include <serialize.h>
|
||||
#include <streams.h>
|
||||
#include <undo.h>
|
||||
#include <univalue.h>
|
||||
#include <util/strencodings.h>
|
||||
|
||||
|
|
|
@ -6,6 +6,8 @@
|
|||
|
||||
#include <chainparams.h>
|
||||
#include <node/blockstorage.h>
|
||||
#include <primitives/block.h>
|
||||
#include <undo.h>
|
||||
#include <validation.h>
|
||||
|
||||
using node::BlockManager;
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
#include <key_io.h>
|
||||
#include <streams.h>
|
||||
#include <test/util/setup_common.h>
|
||||
#include <validationinterface.h>
|
||||
#include <wallet/context.h>
|
||||
#include <wallet/wallet.h>
|
||||
#include <wallet/walletdb.h>
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
#include <test/util/setup_common.h>
|
||||
#include <util/translation.h>
|
||||
#include <validation.h>
|
||||
#include <validationinterface.h>
|
||||
#include <wallet/coincontrol.h>
|
||||
#include <wallet/context.h>
|
||||
#include <wallet/receive.h>
|
||||
|
|
Loading…
Reference in a new issue