diff options
author | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2023-08-07 10:17:31 +0200 |
---|---|---|
committer | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2023-08-17 18:28:15 +0200 |
commit | fa8fdbe22932a4717d2bc4060269da9bff228728 (patch) | |
tree | e3a79eb9c03ba7df66c2a1ecc057de59ddd80866 /src/blockfilter.h | |
parent | fad8c36aa9011c3f7b1183f8380577e16a2167a6 (diff) | |
download | bitcoin-fa8fdbe22932a4717d2bc4060269da9bff228728.tar.xz |
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
Diffstat (limited to 'src/blockfilter.h')
-rw-r--r-- | src/blockfilter.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/blockfilter.h b/src/blockfilter.h index fb5114edb3..8eab4afa76 100644 --- a/src/blockfilter.h +++ b/src/blockfilter.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. |