aboutsummaryrefslogtreecommitdiff
path: root/src/util/message.h
diff options
context:
space:
mode:
authorMacroFake <falke.marco@gmail.com>2022-07-12 18:03:00 +0200
committerMacroFake <falke.marco@gmail.com>2022-07-12 18:05:59 +0200
commit1d89fc695a3aeb3e3dcadf371b7667572b38c836 (patch)
tree366d0c9f3bf0bb5d89b41f6b8b5485dfbd99b597 /src/util/message.h
parent46fcb52cb19462c74dceb085b8ca727c47a6ad32 (diff)
parent07f2c25d04c39a0074e1d9ee1b24b3e359c8153f (diff)
Merge bitcoin/bitcoin#25324: refactor: add most of src/util to iwyu
07f2c25d04c39a0074e1d9ee1b24b3e359c8153f refactor: add most of src/util to iwyu (fanquake) Pull request description: 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. Soon we'll swap `src/util/xyz.cpp` for just `src/util/`. ACKs for top commit: hebasto: ACK 07f2c25d04c39a0074e1d9ee1b24b3e359c8153f, I have reviewed the code and it looks OK, I agree it can be merged. Tree-SHA512: 07d76435c2bff1a62c4967eb0efaafe619cc3bbaf4166741d8520927b24336c01aee59822f8082ee2a01e15046a0f5d506b4b23a6e40ceb750f3226ed8167847
Diffstat (limited to 'src/util/message.h')
-rw-r--r--src/util/message.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util/message.h b/src/util/message.h
index b31c5f5761..1b7febe60a 100644
--- a/src/util/message.h
+++ b/src/util/message.h
@@ -6,11 +6,12 @@
#ifndef BITCOIN_UTIL_MESSAGE_H
#define BITCOIN_UTIL_MESSAGE_H
-#include <key.h> // For CKey
#include <uint256.h>
#include <string>
+class CKey;
+
extern const std::string MESSAGE_MAGIC;
/** The result of a signed message verification.