diff options
author | fanquake <fanquake@gmail.com> | 2022-06-09 16:26:55 +0100 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2022-07-08 11:06:01 +0100 |
commit | 07f2c25d04c39a0074e1d9ee1b24b3e359c8153f (patch) | |
tree | 167946c643c37689ecaf75756038cc88c8c43fcf /src/util/message.cpp | |
parent | a7f3479ba3fda4c9fb29bd7080165744c02ee921 (diff) | |
download | bitcoin-07f2c25d04c39a0074e1d9ee1b24b3e359c8153f.tar.xz |
refactor: add most of src/util to iwyu
These files change infrequently, and not much header shuffling is required.
We don't add everything in src/util/ yet, because IWYU makes some
dubious suggestions, which I'm going to follow up with upstream.
Diffstat (limited to 'src/util/message.cpp')
-rw-r--r-- | src/util/message.cpp | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/src/util/message.cpp b/src/util/message.cpp index f58876f915..d395c4b0bc 100644 --- a/src/util/message.cpp +++ b/src/util/message.cpp @@ -3,16 +3,20 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#include <hash.h> // For CHashWriter -#include <key.h> // For CKey -#include <key_io.h> // For DecodeDestination() -#include <pubkey.h> // For CPubKey -#include <script/standard.h> // For CTxDestination, IsValidDestination(), PKHash -#include <serialize.h> // For SER_GETHASH +#include <hash.h> +#include <key.h> +#include <key_io.h> +#include <pubkey.h> +#include <script/standard.h> +#include <serialize.h> +#include <uint256.h> #include <util/message.h> -#include <util/strencodings.h> // For DecodeBase64() +#include <util/strencodings.h> +#include <cassert> +#include <optional> #include <string> +#include <variant> #include <vector> /** |