mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-03-10 17:17:14 +01:00
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>
13 lines
410 B
C++
13 lines
410 B
C++
// Copyright (c) 2023 The Bitcoin Core developers
|
|
// Distributed under the MIT software license, see the accompanying
|
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
#ifndef BITCOIN_KERNEL_MESSAGESTARTCHARS_H
|
|
#define BITCOIN_KERNEL_MESSAGESTARTCHARS_H
|
|
|
|
#include <array>
|
|
#include <cstdint>
|
|
|
|
using MessageStartChars = std::array<uint8_t, 4>;
|
|
|
|
#endif // BITCOIN_KERNEL_MESSAGESTARTCHARS_H
|