mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-25 10:43:19 -03:00
scripted-diff: Move bloom to src/common
-BEGIN VERIFY SCRIPT- # Move to directory mkdir src/common git mv src/bloom.cpp src/common/ git mv src/bloom.h src/common/ # Replace occurrences sed -i 's|\<bloom\.cpp\>|common/bloom.cpp|g' $(git grep -l 'bloom.cpp') sed -i 's|\<bloom\.h\>|common/bloom.h|g' $(git grep -l 'bloom.h') sed -i 's|BITCOIN_BLOOM_H|BITCOIN_COMMON_BLOOM_H|g' $(git grep -l 'BLOOM_H') -END VERIFY SCRIPT-
This commit is contained in:
parent
fac303c504
commit
fa1e5de2db
11 changed files with 15 additions and 15 deletions
|
@ -123,7 +123,7 @@ BITCOIN_CORE_H = \
|
|||
bech32.h \
|
||||
blockencodings.h \
|
||||
blockfilter.h \
|
||||
bloom.h \
|
||||
common/bloom.h \
|
||||
chain.h \
|
||||
chainparams.h \
|
||||
chainparamsbase.h \
|
||||
|
@ -538,7 +538,7 @@ libbitcoin_common_a_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|||
libbitcoin_common_a_SOURCES = \
|
||||
base58.cpp \
|
||||
bech32.cpp \
|
||||
bloom.cpp \
|
||||
common/bloom.cpp \
|
||||
chainparams.cpp \
|
||||
coins.cpp \
|
||||
compressor.cpp \
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#define BITCOIN_BANMAN_H
|
||||
|
||||
#include <addrdb.h>
|
||||
#include <bloom.h>
|
||||
#include <common/bloom.h>
|
||||
#include <fs.h>
|
||||
#include <net_types.h> // For banmap_t
|
||||
#include <sync.h>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
|
||||
#include <bench/bench.h>
|
||||
#include <bloom.h>
|
||||
#include <common/bloom.h>
|
||||
|
||||
static void RollingBloom(benchmark::Bench& bench)
|
||||
{
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// Distributed under the MIT software license, see the accompanying
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#include <bloom.h>
|
||||
#include <common/bloom.h>
|
||||
|
||||
#include <hash.h>
|
||||
#include <primitives/transaction.h>
|
|
@ -2,8 +2,8 @@
|
|||
// Distributed under the MIT software license, see the accompanying
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#ifndef BITCOIN_BLOOM_H
|
||||
#define BITCOIN_BLOOM_H
|
||||
#ifndef BITCOIN_COMMON_BLOOM_H
|
||||
#define BITCOIN_COMMON_BLOOM_H
|
||||
|
||||
#include <serialize.h>
|
||||
#include <span.h>
|
||||
|
@ -124,4 +124,4 @@ private:
|
|||
int nHashFuncs;
|
||||
};
|
||||
|
||||
#endif // BITCOIN_BLOOM_H
|
||||
#endif // BITCOIN_COMMON_BLOOM_H
|
|
@ -9,7 +9,7 @@
|
|||
#include <serialize.h>
|
||||
#include <uint256.h>
|
||||
#include <primitives/block.h>
|
||||
#include <bloom.h>
|
||||
#include <common/bloom.h>
|
||||
|
||||
#include <vector>
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#define BITCOIN_NET_H
|
||||
|
||||
#include <addrman.h>
|
||||
#include <bloom.h>
|
||||
#include <common/bloom.h>
|
||||
#include <chainparams.h>
|
||||
#include <compat.h>
|
||||
#include <consensus/amount.h>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// Distributed under the MIT software license, see the accompanying
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#include <bloom.h>
|
||||
#include <common/bloom.h>
|
||||
|
||||
#include <clientversion.h>
|
||||
#include <key.h>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// Distributed under the MIT software license, see the accompanying
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#include <bloom.h>
|
||||
#include <common/bloom.h>
|
||||
#include <primitives/transaction.h>
|
||||
#include <test/fuzz/FuzzedDataProvider.h>
|
||||
#include <test/fuzz/fuzz.h>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// Distributed under the MIT software license, see the accompanying
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#include <bloom.h>
|
||||
#include <common/bloom.h>
|
||||
#include <test/fuzz/FuzzedDataProvider.h>
|
||||
#include <test/fuzz/fuzz.h>
|
||||
#include <test/fuzz/util.h>
|
||||
|
|
|
@ -22,7 +22,7 @@ unsigned-integer-overflow:arith_uint256.h
|
|||
unsigned-integer-overflow:basic_string.h
|
||||
unsigned-integer-overflow:bench/bench.h
|
||||
unsigned-integer-overflow:bitcoin-tx.cpp
|
||||
unsigned-integer-overflow:bloom.cpp
|
||||
unsigned-integer-overflow:common/bloom.cpp
|
||||
unsigned-integer-overflow:chain.cpp
|
||||
unsigned-integer-overflow:chain.h
|
||||
unsigned-integer-overflow:coded_stream.h
|
||||
|
@ -48,7 +48,7 @@ implicit-integer-sign-change:*/new_allocator.h
|
|||
implicit-integer-sign-change:addrman.h
|
||||
implicit-integer-sign-change:arith_uint256.cpp
|
||||
implicit-integer-sign-change:bech32.cpp
|
||||
implicit-integer-sign-change:bloom.cpp
|
||||
implicit-integer-sign-change:common/bloom.cpp
|
||||
implicit-integer-sign-change:chain.cpp
|
||||
implicit-integer-sign-change:chain.h
|
||||
implicit-integer-sign-change:coins.h
|
||||
|
|
Loading…
Add table
Reference in a new issue