aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/chainparams.cpp
diff options
context:
space:
mode:
authorTheCharlatan <seb.kung@gmail.com>2023-09-06 15:55:14 +0200
committerTheCharlatan <seb.kung@gmail.com>2023-09-12 22:51:38 +0200
commit534b314a7401d44f51aabd4565f97be9ee411740 (patch)
tree7109128d57dc16dcc99c1c0a5d4ae2553c5ae55a /src/kernel/chainparams.cpp
parent9be330b654cfbd792620295f3867f592059d6a7a (diff)
kernel: Move MessageStartChars to its own file
The protocol.h file contains many non-consensus related definitions and should thus not be part of the libbitcoinkernel. This commit makes protocol.h no longer a required include for users of the libbitcoinkernel. This commit is part of the libbitcoinkernel project, namely its stage 1 step 3: Decouple most non-consensus headers from libbitcoinkernel. Co-Authored-By: Cory Fields <cory-nospam-@coryfields.com>
Diffstat (limited to 'src/kernel/chainparams.cpp')
-rw-r--r--src/kernel/chainparams.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/kernel/chainparams.cpp b/src/kernel/chainparams.cpp
index c41559ad98..6cee379faf 100644
--- a/src/kernel/chainparams.cpp
+++ b/src/kernel/chainparams.cpp
@@ -10,6 +10,7 @@
#include <consensus/merkle.h>
#include <consensus/params.h>
#include <hash.h>
+#include <kernel/messagestartchars.h>
#include <logging.h>
#include <primitives/block.h>
#include <primitives/transaction.h>