mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-25 10:43:19 -03:00
Rename version.h to node/protocol_version.h
This commit is contained in:
parent
fa4fbd5816
commit
fa98a097a3
7 changed files with 11 additions and 11 deletions
|
@ -230,6 +230,7 @@ BITCOIN_CORE_H = \
|
|||
node/mini_miner.h \
|
||||
node/minisketchwrapper.h \
|
||||
node/peerman_args.h \
|
||||
node/protocol_version.h \
|
||||
node/psbt.h \
|
||||
node/transaction.h \
|
||||
node/txreconciliation.h \
|
||||
|
@ -658,8 +659,7 @@ libbitcoin_consensus_a_SOURCES = \
|
|||
uint256.cpp \
|
||||
uint256.h \
|
||||
util/strencodings.cpp \
|
||||
util/strencodings.h \
|
||||
version.h
|
||||
util/strencodings.h
|
||||
#
|
||||
|
||||
# common #
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
#include <netbase.h>
|
||||
#include <netgroup.h>
|
||||
#include <node/connection_types.h>
|
||||
#include <node/protocol_version.h>
|
||||
#include <policy/feerate.h>
|
||||
#include <protocol.h>
|
||||
#include <random.h>
|
||||
|
@ -30,7 +31,6 @@
|
|||
#include <util/check.h>
|
||||
#include <util/sock.h>
|
||||
#include <util/threadinterrupt.h>
|
||||
#include <version.h>
|
||||
|
||||
#include <atomic>
|
||||
#include <condition_variable>
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
// Copyright (c) 2012-2020 The Bitcoin Core developers
|
||||
// Copyright (c) 2012-present 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_VERSION_H
|
||||
#define BITCOIN_VERSION_H
|
||||
#ifndef BITCOIN_NODE_PROTOCOL_VERSION_H
|
||||
#define BITCOIN_NODE_PROTOCOL_VERSION_H
|
||||
|
||||
/**
|
||||
* network protocol versioning
|
||||
|
@ -35,4 +35,4 @@ static const int INVALID_CB_NO_BAN_VERSION = 70015;
|
|||
//! "wtxidrelay" command for wtxid-based relay starts with this version
|
||||
static const int WTXID_RELAY_VERSION = 70016;
|
||||
|
||||
#endif // BITCOIN_VERSION_H
|
||||
#endif // BITCOIN_NODE_PROTOCOL_VERSION_H
|
|
@ -15,6 +15,7 @@
|
|||
#include <net_types.h> // For banmap_t
|
||||
#include <netbase.h>
|
||||
#include <node/context.h>
|
||||
#include <node/protocol_version.h>
|
||||
#include <policy/settings.h>
|
||||
#include <protocol.h>
|
||||
#include <rpc/blockchain.h>
|
||||
|
@ -29,7 +30,6 @@
|
|||
#include <util/time.h>
|
||||
#include <util/translation.h>
|
||||
#include <validation.h>
|
||||
#include <version.h>
|
||||
#include <warnings.h>
|
||||
|
||||
#include <optional>
|
||||
|
|
|
@ -6,13 +6,13 @@
|
|||
|
||||
#include <compat/compat.h>
|
||||
#include <netaddress.h>
|
||||
#include <node/protocol_version.h>
|
||||
#include <protocol.h>
|
||||
#include <test/fuzz/FuzzedDataProvider.h>
|
||||
#include <test/fuzz/util.h>
|
||||
#include <test/util/net.h>
|
||||
#include <util/sock.h>
|
||||
#include <util/time.h>
|
||||
#include <version.h>
|
||||
|
||||
#include <array>
|
||||
#include <cassert>
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
#include <netbase.h>
|
||||
#include <netgroup.h>
|
||||
#include <node/connection_types.h>
|
||||
#include <node/protocol_version.h>
|
||||
#include <protocol.h>
|
||||
#include <random.h>
|
||||
#include <test/util/logging.h>
|
||||
|
@ -18,7 +19,6 @@
|
|||
#include <test/util/setup_common.h>
|
||||
#include <tinyformat.h>
|
||||
#include <util/chaintype.h>
|
||||
#include <version.h>
|
||||
|
||||
#include <algorithm>
|
||||
#include <cstdint>
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
#include <netaddress.h>
|
||||
#include <netbase.h>
|
||||
#include <netmessagemaker.h>
|
||||
#include <node/protocol_version.h>
|
||||
#include <serialize.h>
|
||||
#include <span.h>
|
||||
#include <streams.h>
|
||||
|
@ -22,7 +23,6 @@
|
|||
#include <util/strencodings.h>
|
||||
#include <util/string.h>
|
||||
#include <validation.h>
|
||||
#include <version.h>
|
||||
|
||||
#include <boost/test/unit_test.hpp>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue