scripted-diff: Replace #include "" with #include <> (ryanofsky)

-BEGIN VERIFY SCRIPT-
for f in \
  src/*.cpp \
  src/*.h \
  src/bench/*.cpp \
  src/bench/*.h \
  src/compat/*.cpp \
  src/compat/*.h \
  src/consensus/*.cpp \
  src/consensus/*.h \
  src/crypto/*.cpp \
  src/crypto/*.h \
  src/crypto/ctaes/*.h \
  src/policy/*.cpp \
  src/policy/*.h \
  src/primitives/*.cpp \
  src/primitives/*.h \
  src/qt/*.cpp \
  src/qt/*.h \
  src/qt/test/*.cpp \
  src/qt/test/*.h \
  src/rpc/*.cpp \
  src/rpc/*.h \
  src/script/*.cpp \
  src/script/*.h \
  src/support/*.cpp \
  src/support/*.h \
  src/support/allocators/*.h \
  src/test/*.cpp \
  src/test/*.h \
  src/wallet/*.cpp \
  src/wallet/*.h \
  src/wallet/test/*.cpp \
  src/wallet/test/*.h \
  src/zmq/*.cpp \
  src/zmq/*.h
do
  base=${f%/*}/ relbase=${base#src/} sed -i "s:#include \"\(.*\)\"\(.*\):if test -e \$base'\\1'; then echo \"#include <\"\$relbase\"\\1>\\2\"; else echo \"#include <\\1>\\2\"; fi:e" $f
done
-END VERIFY SCRIPT-
This commit is contained in:
MeshCollider 2017-11-10 13:57:53 +13:00
parent 4ed818060e
commit 1a445343f6
355 changed files with 1983 additions and 1983 deletions

View file

@ -3,17 +3,17 @@
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "addrdb.h" #include <addrdb.h>
#include "addrman.h" #include <addrman.h>
#include "chainparams.h" #include <chainparams.h>
#include "clientversion.h" #include <clientversion.h>
#include "fs.h" #include <fs.h>
#include "hash.h" #include <hash.h>
#include "random.h" #include <random.h>
#include "streams.h" #include <streams.h>
#include "tinyformat.h" #include <tinyformat.h>
#include "util.h" #include <util.h>
namespace { namespace {

View file

@ -6,8 +6,8 @@
#ifndef BITCOIN_ADDRDB_H #ifndef BITCOIN_ADDRDB_H
#define BITCOIN_ADDRDB_H #define BITCOIN_ADDRDB_H
#include "fs.h" #include <fs.h>
#include "serialize.h" #include <serialize.h>
#include <string> #include <string>
#include <map> #include <map>

View file

@ -3,11 +3,11 @@
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "addrman.h" #include <addrman.h>
#include "hash.h" #include <hash.h>
#include "serialize.h" #include <serialize.h>
#include "streams.h" #include <streams.h>
int CAddrInfo::GetTriedBucket(const uint256& nKey) const int CAddrInfo::GetTriedBucket(const uint256& nKey) const
{ {

View file

@ -6,12 +6,12 @@
#ifndef BITCOIN_ADDRMAN_H #ifndef BITCOIN_ADDRMAN_H
#define BITCOIN_ADDRMAN_H #define BITCOIN_ADDRMAN_H
#include "netaddress.h" #include <netaddress.h>
#include "protocol.h" #include <protocol.h>
#include "random.h" #include <random.h>
#include "sync.h" #include <sync.h>
#include "timedata.h" #include <timedata.h>
#include "util.h" #include <util.h>
#include <map> #include <map>
#include <set> #include <set>

View file

@ -3,11 +3,11 @@
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "arith_uint256.h" #include <arith_uint256.h>
#include "uint256.h" #include <uint256.h>
#include "utilstrencodings.h" #include <utilstrencodings.h>
#include "crypto/common.h" #include <crypto/common.h>
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>

View file

@ -2,13 +2,13 @@
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "base58.h" #include <base58.h>
#include "bech32.h" #include <bech32.h>
#include "hash.h" #include <hash.h>
#include "script/script.h" #include <script/script.h>
#include "uint256.h" #include <uint256.h>
#include "utilstrencodings.h" #include <utilstrencodings.h>
#include <boost/variant/apply_visitor.hpp> #include <boost/variant/apply_visitor.hpp>
#include <boost/variant/static_visitor.hpp> #include <boost/variant/static_visitor.hpp>

View file

@ -14,11 +14,11 @@
#ifndef BITCOIN_BASE58_H #ifndef BITCOIN_BASE58_H
#define BITCOIN_BASE58_H #define BITCOIN_BASE58_H
#include "chainparams.h" #include <chainparams.h>
#include "key.h" #include <key.h>
#include "pubkey.h" #include <pubkey.h>
#include "script/standard.h" #include <script/standard.h>
#include "support/allocators/zeroafterfree.h" #include <support/allocators/zeroafterfree.h>
#include <string> #include <string>
#include <vector> #include <vector>

View file

@ -2,7 +2,7 @@
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "bech32.h" #include <bech32.h>
namespace namespace
{ {

View file

@ -2,9 +2,9 @@
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "bench.h" #include <bench/bench.h>
#include "validation.h" #include <validation.h>
#include "utiltime.h" #include <utiltime.h>
// Sanity test: this should loop ten times, and // Sanity test: this should loop ten times, and
// min/max/average should be close to 100ms. // min/max/average should be close to 100ms.

View file

@ -2,10 +2,10 @@
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "bench.h" #include <bench/bench.h>
#include "validation.h" #include <validation.h>
#include "base58.h" #include <base58.h>
#include <array> #include <array>
#include <vector> #include <vector>

View file

@ -2,8 +2,8 @@
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "bench.h" #include <bench/bench.h>
#include "perf.h" #include <bench/perf.h>
#include <assert.h> #include <assert.h>
#include <iostream> #include <iostream>

View file

@ -2,13 +2,13 @@
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "bench.h" #include <bench/bench.h>
#include "crypto/sha256.h" #include <crypto/sha256.h>
#include "key.h" #include <key.h>
#include "validation.h" #include <validation.h>
#include "util.h" #include <util.h>
#include "random.h" #include <random.h>
int int
main(int argc, char** argv) main(int argc, char** argv)

View file

@ -2,10 +2,10 @@
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "bench.h" #include <bench/bench.h>
#include "coins.h" #include <coins.h>
#include "policy/policy.h" #include <policy/policy.h>
#include "wallet/crypter.h" #include <wallet/crypter.h>
#include <vector> #include <vector>

View file

@ -2,15 +2,15 @@
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "bench.h" #include <bench/bench.h>
#include "chainparams.h" #include <chainparams.h>
#include "validation.h" #include <validation.h>
#include "streams.h" #include <streams.h>
#include "consensus/validation.h" #include <consensus/validation.h>
namespace block_bench { namespace block_bench {
#include "bench/data/block413567.raw.h" #include <bench/data/block413567.raw.h>
} // namespace block_bench } // namespace block_bench
// These are the two major time-sinks which happen after we have fully received // These are the two major time-sinks which happen after we have fully received

View file

@ -2,14 +2,14 @@
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "bench.h" #include <bench/bench.h>
#include "util.h" #include <util.h>
#include "validation.h" #include <validation.h>
#include "checkqueue.h" #include <checkqueue.h>
#include "prevector.h" #include <prevector.h>
#include <vector> #include <vector>
#include <boost/thread/thread.hpp> #include <boost/thread/thread.hpp>
#include "random.h" #include <random.h>
// This Benchmark tests the CheckQueue with the lightest // This Benchmark tests the CheckQueue with the lightest

View file

@ -2,8 +2,8 @@
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "bench.h" #include <bench/bench.h>
#include "wallet/wallet.h" #include <wallet/wallet.h>
#include <set> #include <set>

View file

@ -4,16 +4,16 @@
#include <iostream> #include <iostream>
#include "bench.h" #include <bench/bench.h>
#include "bloom.h" #include <bloom.h>
#include "hash.h" #include <hash.h>
#include "random.h" #include <random.h>
#include "uint256.h" #include <uint256.h>
#include "utiltime.h" #include <utiltime.h>
#include "crypto/ripemd160.h" #include <crypto/ripemd160.h>
#include "crypto/sha1.h" #include <crypto/sha1.h>
#include "crypto/sha256.h" #include <crypto/sha256.h>
#include "crypto/sha512.h" #include <crypto/sha512.h>
/* Number of bytes to hash per iteration */ /* Number of bytes to hash per iteration */
static const uint64_t BUFFER_SIZE = 1000*1000; static const uint64_t BUFFER_SIZE = 1000*1000;

View file

@ -2,9 +2,9 @@
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "bench.h" #include <bench/bench.h>
#include "support/lockedpool.h" #include <support/lockedpool.h>
#include <iostream> #include <iostream>
#include <vector> #include <vector>

View file

@ -2,9 +2,9 @@
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "bench.h" #include <bench/bench.h>
#include "policy/policy.h" #include <policy/policy.h>
#include "txmempool.h" #include <txmempool.h>
#include <list> #include <list>
#include <vector> #include <vector>

View file

@ -2,7 +2,7 @@
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "perf.h" #include <bench/perf.h>
#if defined(__i386__) || defined(__x86_64__) #if defined(__i386__) || defined(__x86_64__)

View file

@ -2,8 +2,8 @@
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "bench.h" #include <bench/bench.h>
#include "prevector.h" #include <prevector.h>
static void PrevectorDestructor(benchmark::State& state) static void PrevectorDestructor(benchmark::State& state)
{ {

View file

@ -4,8 +4,8 @@
#include <iostream> #include <iostream>
#include "bench.h" #include <bench/bench.h>
#include "bloom.h" #include <bloom.h>
static void RollingBloom(benchmark::State& state) static void RollingBloom(benchmark::State& state)
{ {

View file

@ -2,14 +2,14 @@
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "bench.h" #include <bench/bench.h>
#include "key.h" #include <key.h>
#if defined(HAVE_CONSENSUS_LIB) #if defined(HAVE_CONSENSUS_LIB)
#include "script/bitcoinconsensus.h" #include <script/bitcoinconsensus.h>
#endif #endif
#include "script/script.h" #include <script/script.h>
#include "script/sign.h" #include <script/sign.h>
#include "streams.h" #include <streams.h>
#include <array> #include <array>

View file

@ -4,22 +4,22 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H) #if defined(HAVE_CONFIG_H)
#include "config/bitcoin-config.h" #include <config/bitcoin-config.h>
#endif #endif
#include "chainparamsbase.h" #include <chainparamsbase.h>
#include "clientversion.h" #include <clientversion.h>
#include "fs.h" #include <fs.h>
#include "rpc/client.h" #include <rpc/client.h>
#include "rpc/protocol.h" #include <rpc/protocol.h>
#include "util.h" #include <util.h>
#include "utilstrencodings.h" #include <utilstrencodings.h>
#include <stdio.h> #include <stdio.h>
#include <event2/buffer.h> #include <event2/buffer.h>
#include <event2/keyvalq_struct.h> #include <event2/keyvalq_struct.h>
#include "support/events.h" #include <support/events.h>
#include <univalue.h> #include <univalue.h>

View file

@ -3,24 +3,24 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H) #if defined(HAVE_CONFIG_H)
#include "config/bitcoin-config.h" #include <config/bitcoin-config.h>
#endif #endif
#include "base58.h" #include <base58.h>
#include "clientversion.h" #include <clientversion.h>
#include "coins.h" #include <coins.h>
#include "consensus/consensus.h" #include <consensus/consensus.h>
#include "core_io.h" #include <core_io.h>
#include "keystore.h" #include <keystore.h>
#include "policy/policy.h" #include <policy/policy.h>
#include "policy/rbf.h" #include <policy/rbf.h>
#include "primitives/transaction.h" #include <primitives/transaction.h>
#include "script/script.h" #include <script/script.h>
#include "script/sign.h" #include <script/sign.h>
#include <univalue.h> #include <univalue.h>
#include "util.h" #include <util.h>
#include "utilmoneystr.h" #include <utilmoneystr.h>
#include "utilstrencodings.h" #include <utilstrencodings.h>
#include <stdio.h> #include <stdio.h>

View file

@ -4,21 +4,21 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H) #if defined(HAVE_CONFIG_H)
#include "config/bitcoin-config.h" #include <config/bitcoin-config.h>
#endif #endif
#include "chainparams.h" #include <chainparams.h>
#include "clientversion.h" #include <clientversion.h>
#include "compat.h" #include <compat.h>
#include "fs.h" #include <fs.h>
#include "rpc/server.h" #include <rpc/server.h>
#include "init.h" #include <init.h>
#include "noui.h" #include <noui.h>
#include "scheduler.h" #include <scheduler.h>
#include "util.h" #include <util.h>
#include "httpserver.h" #include <httpserver.h>
#include "httprpc.h" #include <httprpc.h>
#include "utilstrencodings.h" #include <utilstrencodings.h>
#include <boost/thread.hpp> #include <boost/thread.hpp>

View file

@ -2,16 +2,16 @@
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "blockencodings.h" #include <blockencodings.h>
#include "consensus/consensus.h" #include <consensus/consensus.h>
#include "consensus/validation.h" #include <consensus/validation.h>
#include "chainparams.h" #include <chainparams.h>
#include "hash.h" #include <hash.h>
#include "random.h" #include <random.h>
#include "streams.h" #include <streams.h>
#include "txmempool.h" #include <txmempool.h>
#include "validation.h" #include <validation.h>
#include "util.h" #include <util.h>
#include <unordered_map> #include <unordered_map>

View file

@ -5,7 +5,7 @@
#ifndef BITCOIN_BLOCK_ENCODINGS_H #ifndef BITCOIN_BLOCK_ENCODINGS_H
#define BITCOIN_BLOCK_ENCODINGS_H #define BITCOIN_BLOCK_ENCODINGS_H
#include "primitives/block.h" #include <primitives/block.h>
#include <memory> #include <memory>

View file

@ -2,14 +2,14 @@
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "bloom.h" #include <bloom.h>
#include "primitives/transaction.h" #include <primitives/transaction.h>
#include "hash.h" #include <hash.h>
#include "script/script.h" #include <script/script.h>
#include "script/standard.h" #include <script/standard.h>
#include "random.h" #include <random.h>
#include "streams.h" #include <streams.h>
#include <math.h> #include <math.h>
#include <stdlib.h> #include <stdlib.h>

View file

@ -5,7 +5,7 @@
#ifndef BITCOIN_BLOOM_H #ifndef BITCOIN_BLOOM_H
#define BITCOIN_BLOOM_H #define BITCOIN_BLOOM_H
#include "serialize.h" #include <serialize.h>
#include <vector> #include <vector>

View file

@ -3,7 +3,7 @@
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "chain.h" #include <chain.h>
/** /**
* CChain implementation * CChain implementation

View file

@ -6,11 +6,11 @@
#ifndef BITCOIN_CHAIN_H #ifndef BITCOIN_CHAIN_H
#define BITCOIN_CHAIN_H #define BITCOIN_CHAIN_H
#include "arith_uint256.h" #include <arith_uint256.h>
#include "primitives/block.h" #include <primitives/block.h>
#include "pow.h" #include <pow.h>
#include "tinyformat.h" #include <tinyformat.h>
#include "uint256.h" #include <uint256.h>
#include <vector> #include <vector>

View file

@ -3,16 +3,16 @@
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "chainparams.h" #include <chainparams.h>
#include "consensus/merkle.h" #include <consensus/merkle.h>
#include "tinyformat.h" #include <tinyformat.h>
#include "util.h" #include <util.h>
#include "utilstrencodings.h" #include <utilstrencodings.h>
#include <assert.h> #include <assert.h>
#include "chainparamsseeds.h" #include <chainparamsseeds.h>
static CBlock CreateGenesisBlock(const char* pszTimestamp, const CScript& genesisOutputScript, uint32_t nTime, uint32_t nNonce, uint32_t nBits, int32_t nVersion, const CAmount& genesisReward) static CBlock CreateGenesisBlock(const char* pszTimestamp, const CScript& genesisOutputScript, uint32_t nTime, uint32_t nNonce, uint32_t nBits, int32_t nVersion, const CAmount& genesisReward)
{ {

View file

@ -6,10 +6,10 @@
#ifndef BITCOIN_CHAINPARAMS_H #ifndef BITCOIN_CHAINPARAMS_H
#define BITCOIN_CHAINPARAMS_H #define BITCOIN_CHAINPARAMS_H
#include "chainparamsbase.h" #include <chainparamsbase.h>
#include "consensus/params.h" #include <consensus/params.h>
#include "primitives/block.h" #include <primitives/block.h>
#include "protocol.h" #include <protocol.h>
#include <memory> #include <memory>
#include <vector> #include <vector>

View file

@ -3,10 +3,10 @@
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "chainparamsbase.h" #include <chainparamsbase.h>
#include "tinyformat.h" #include <tinyformat.h>
#include "util.h" #include <util.h>
#include <assert.h> #include <assert.h>

View file

@ -2,13 +2,13 @@
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "checkpoints.h" #include <checkpoints.h>
#include "chain.h" #include <chain.h>
#include "chainparams.h" #include <chainparams.h>
#include "reverse_iterator.h" #include <reverse_iterator.h>
#include "validation.h" #include <validation.h>
#include "uint256.h" #include <uint256.h>
#include <stdint.h> #include <stdint.h>

View file

@ -5,7 +5,7 @@
#ifndef BITCOIN_CHECKPOINTS_H #ifndef BITCOIN_CHECKPOINTS_H
#define BITCOIN_CHECKPOINTS_H #define BITCOIN_CHECKPOINTS_H
#include "uint256.h" #include <uint256.h>
#include <map> #include <map>

View file

@ -5,7 +5,7 @@
#ifndef BITCOIN_CHECKQUEUE_H #ifndef BITCOIN_CHECKQUEUE_H
#define BITCOIN_CHECKQUEUE_H #define BITCOIN_CHECKQUEUE_H
#include "sync.h" #include <sync.h>
#include <algorithm> #include <algorithm>
#include <vector> #include <vector>

View file

@ -2,9 +2,9 @@
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "clientversion.h" #include <clientversion.h>
#include "tinyformat.h" #include <tinyformat.h>
#include <string> #include <string>
@ -39,7 +39,7 @@ const std::string CLIENT_NAME("Satoshi");
//! First, include build.h if requested //! First, include build.h if requested
#ifdef HAVE_BUILD_INFO #ifdef HAVE_BUILD_INFO
#include "build.h" #include <build.h>
#endif #endif
//! git will put "#define GIT_ARCHIVE 1" on the next line inside archives. $Format:%n#define GIT_ARCHIVE 1$ //! git will put "#define GIT_ARCHIVE 1" on the next line inside archives. $Format:%n#define GIT_ARCHIVE 1$

View file

@ -6,7 +6,7 @@
#define BITCOIN_CLIENTVERSION_H #define BITCOIN_CLIENTVERSION_H
#if defined(HAVE_CONFIG_H) #if defined(HAVE_CONFIG_H)
#include "config/bitcoin-config.h" #include <config/bitcoin-config.h>
#endif //HAVE_CONFIG_H #endif //HAVE_CONFIG_H
// Check that required client information is defined // Check that required client information is defined

View file

@ -2,11 +2,11 @@
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "coins.h" #include <coins.h>
#include "consensus/consensus.h" #include <consensus/consensus.h>
#include "memusage.h" #include <memusage.h>
#include "random.h" #include <random.h>
#include <assert.h> #include <assert.h>

View file

@ -6,13 +6,13 @@
#ifndef BITCOIN_COINS_H #ifndef BITCOIN_COINS_H
#define BITCOIN_COINS_H #define BITCOIN_COINS_H
#include "primitives/transaction.h" #include <primitives/transaction.h>
#include "compressor.h" #include <compressor.h>
#include "core_memusage.h" #include <core_memusage.h>
#include "hash.h" #include <hash.h>
#include "memusage.h" #include <memusage.h>
#include "serialize.h" #include <serialize.h>
#include "uint256.h" #include <uint256.h>
#include <assert.h> #include <assert.h>
#include <stdint.h> #include <stdint.h>

View file

@ -7,7 +7,7 @@
#define BITCOIN_COMPAT_H #define BITCOIN_COMPAT_H
#if defined(HAVE_CONFIG_H) #if defined(HAVE_CONFIG_H)
#include "config/bitcoin-config.h" #include <config/bitcoin-config.h>
#endif #endif
#ifdef WIN32 #ifdef WIN32
@ -49,7 +49,7 @@
#ifndef WIN32 #ifndef WIN32
typedef unsigned int SOCKET; typedef unsigned int SOCKET;
#include "errno.h" #include <errno.h>
#define WSAGetLastError() errno #define WSAGetLastError() errno
#define WSAEINVAL EINVAL #define WSAEINVAL EINVAL
#define WSAEALREADY EALREADY #define WSAEALREADY EALREADY

View file

@ -6,7 +6,7 @@
#define BITCOIN_COMPAT_BYTESWAP_H #define BITCOIN_COMPAT_BYTESWAP_H
#if defined(HAVE_CONFIG_H) #if defined(HAVE_CONFIG_H)
#include "config/bitcoin-config.h" #include <config/bitcoin-config.h>
#endif #endif
#include <stdint.h> #include <stdint.h>

View file

@ -6,10 +6,10 @@
#define BITCOIN_COMPAT_ENDIAN_H #define BITCOIN_COMPAT_ENDIAN_H
#if defined(HAVE_CONFIG_H) #if defined(HAVE_CONFIG_H)
#include "config/bitcoin-config.h" #include <config/bitcoin-config.h>
#endif #endif
#include "compat/byteswap.h" #include <compat/byteswap.h>
#include <stdint.h> #include <stdint.h>

View file

@ -3,7 +3,7 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H) #if defined(HAVE_CONFIG_H)
#include "config/bitcoin-config.h" #include <config/bitcoin-config.h>
#endif #endif
#include <cstddef> #include <cstddef>

View file

@ -3,7 +3,7 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H) #if defined(HAVE_CONFIG_H)
#include "config/bitcoin-config.h" #include <config/bitcoin-config.h>
#endif #endif
#include <cstddef> #include <cstddef>

View file

@ -3,7 +3,7 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H) #if defined(HAVE_CONFIG_H)
#include "config/bitcoin-config.h" #include <config/bitcoin-config.h>
#endif #endif
#include <cstring> #include <cstring>

View file

@ -3,11 +3,11 @@
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "compressor.h" #include <compressor.h>
#include "hash.h" #include <hash.h>
#include "pubkey.h" #include <pubkey.h>
#include "script/standard.h" #include <script/standard.h>
bool CScriptCompressor::IsToKeyID(CKeyID &hash) const bool CScriptCompressor::IsToKeyID(CKeyID &hash) const
{ {

View file

@ -6,9 +6,9 @@
#ifndef BITCOIN_COMPRESSOR_H #ifndef BITCOIN_COMPRESSOR_H
#define BITCOIN_COMPRESSOR_H #define BITCOIN_COMPRESSOR_H
#include "primitives/transaction.h" #include <primitives/transaction.h>
#include "script/script.h" #include <script/script.h>
#include "serialize.h" #include <serialize.h>
class CKeyID; class CKeyID;
class CPubKey; class CPubKey;

View file

@ -2,9 +2,9 @@
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "merkle.h" #include <consensus/merkle.h>
#include "hash.h" #include <hash.h>
#include "utilstrencodings.h" #include <utilstrencodings.h>
/* WARNING! If you're reading this because you're learning about crypto /* WARNING! If you're reading this because you're learning about crypto
and/or designing a new system that will use merkle trees, keep in mind and/or designing a new system that will use merkle trees, keep in mind

View file

@ -8,9 +8,9 @@
#include <stdint.h> #include <stdint.h>
#include <vector> #include <vector>
#include "primitives/transaction.h" #include <primitives/transaction.h>
#include "primitives/block.h" #include <primitives/block.h>
#include "uint256.h" #include <uint256.h>
uint256 ComputeMerkleRoot(const std::vector<uint256>& leaves, bool* mutated = nullptr); uint256 ComputeMerkleRoot(const std::vector<uint256>& leaves, bool* mutated = nullptr);
std::vector<uint256> ComputeMerkleBranch(const std::vector<uint256>& leaves, uint32_t position); std::vector<uint256> ComputeMerkleBranch(const std::vector<uint256>& leaves, uint32_t position);

View file

@ -6,7 +6,7 @@
#ifndef BITCOIN_CONSENSUS_PARAMS_H #ifndef BITCOIN_CONSENSUS_PARAMS_H
#define BITCOIN_CONSENSUS_PARAMS_H #define BITCOIN_CONSENSUS_PARAMS_H
#include "uint256.h" #include <uint256.h>
#include <limits> #include <limits>
#include <map> #include <map>
#include <string> #include <string>

View file

@ -2,17 +2,17 @@
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "tx_verify.h" #include <consensus/tx_verify.h>
#include "consensus.h" #include <consensus/consensus.h>
#include "primitives/transaction.h" #include <primitives/transaction.h>
#include "script/interpreter.h" #include <script/interpreter.h>
#include "validation.h" #include <consensus/validation.h>
// TODO remove the following dependencies // TODO remove the following dependencies
#include "chain.h" #include <chain.h>
#include "coins.h" #include <coins.h>
#include "utilmoneystr.h" #include <utilmoneystr.h>
bool IsFinalTx(const CTransaction &tx, int nBlockHeight, int64_t nBlockTime) bool IsFinalTx(const CTransaction &tx, int nBlockHeight, int64_t nBlockTime)
{ {

View file

@ -5,7 +5,7 @@
#ifndef BITCOIN_CONSENSUS_TX_VERIFY_H #ifndef BITCOIN_CONSENSUS_TX_VERIFY_H
#define BITCOIN_CONSENSUS_TX_VERIFY_H #define BITCOIN_CONSENSUS_TX_VERIFY_H
#include "amount.h" #include <amount.h>
#include <stdint.h> #include <stdint.h>
#include <vector> #include <vector>

View file

@ -7,10 +7,10 @@
#define BITCOIN_CONSENSUS_VALIDATION_H #define BITCOIN_CONSENSUS_VALIDATION_H
#include <string> #include <string>
#include "version.h" #include <version.h>
#include "consensus/consensus.h" #include <consensus/consensus.h>
#include "primitives/transaction.h" #include <primitives/transaction.h>
#include "primitives/block.h" #include <primitives/block.h>
/** "reject" message codes */ /** "reject" message codes */
static const unsigned char REJECT_MALFORMED = 0x01; static const unsigned char REJECT_MALFORMED = 0x01;

View file

@ -5,7 +5,7 @@
#ifndef BITCOIN_CORE_IO_H #ifndef BITCOIN_CORE_IO_H
#define BITCOIN_CORE_IO_H #define BITCOIN_CORE_IO_H
#include "amount.h" #include <amount.h>
#include <string> #include <string>
#include <vector> #include <vector>

View file

@ -5,9 +5,9 @@
#ifndef BITCOIN_CORE_MEMUSAGE_H #ifndef BITCOIN_CORE_MEMUSAGE_H
#define BITCOIN_CORE_MEMUSAGE_H #define BITCOIN_CORE_MEMUSAGE_H
#include "primitives/transaction.h" #include <primitives/transaction.h>
#include "primitives/block.h" #include <primitives/block.h>
#include "memusage.h" #include <memusage.h>
static inline size_t RecursiveDynamicUsage(const CScript& script) { static inline size_t RecursiveDynamicUsage(const CScript& script) {
return memusage::DynamicUsage(script); return memusage::DynamicUsage(script);

View file

@ -2,17 +2,17 @@
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "core_io.h" #include <core_io.h>
#include "primitives/block.h" #include <primitives/block.h>
#include "primitives/transaction.h" #include <primitives/transaction.h>
#include "script/script.h" #include <script/script.h>
#include "serialize.h" #include <serialize.h>
#include "streams.h" #include <streams.h>
#include <univalue.h> #include <univalue.h>
#include "util.h" #include <util.h>
#include "utilstrencodings.h" #include <utilstrencodings.h>
#include "version.h" #include <version.h>
#include <boost/algorithm/string/classification.hpp> #include <boost/algorithm/string/classification.hpp>
#include <boost/algorithm/string/predicate.hpp> #include <boost/algorithm/string/predicate.hpp>

View file

@ -2,19 +2,19 @@
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "core_io.h" #include <core_io.h>
#include "base58.h" #include <base58.h>
#include "consensus/consensus.h" #include <consensus/consensus.h>
#include "consensus/validation.h" #include <consensus/validation.h>
#include "script/script.h" #include <script/script.h>
#include "script/standard.h" #include <script/standard.h>
#include "serialize.h" #include <serialize.h>
#include "streams.h" #include <streams.h>
#include <univalue.h> #include <univalue.h>
#include "util.h" #include <util.h>
#include "utilmoneystr.h" #include <utilmoneystr.h>
#include "utilstrencodings.h" #include <utilstrencodings.h>
UniValue ValueFromAmount(const CAmount& amount) UniValue ValueFromAmount(const CAmount& amount)
{ {

View file

@ -2,14 +2,14 @@
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "aes.h" #include <crypto/aes.h>
#include "crypto/common.h" #include <crypto/common.h>
#include <assert.h> #include <assert.h>
#include <string.h> #include <string.h>
extern "C" { extern "C" {
#include "crypto/ctaes/ctaes.c" #include <crypto/ctaes/ctaes.c>
} }
AES128Encrypt::AES128Encrypt(const unsigned char key[16]) AES128Encrypt::AES128Encrypt(const unsigned char key[16])

View file

@ -8,7 +8,7 @@
#define BITCOIN_CRYPTO_AES_H #define BITCOIN_CRYPTO_AES_H
extern "C" { extern "C" {
#include "crypto/ctaes/ctaes.h" #include <crypto/ctaes/ctaes.h>
} }
static const int AES_BLOCKSIZE = 16; static const int AES_BLOCKSIZE = 16;

View file

@ -5,8 +5,8 @@
// Based on the public domain implementation 'merged' by D. J. Bernstein // Based on the public domain implementation 'merged' by D. J. Bernstein
// See https://cr.yp.to/chacha.html. // See https://cr.yp.to/chacha.html.
#include "crypto/common.h" #include <crypto/common.h>
#include "crypto/chacha20.h" #include <crypto/chacha20.h>
#include <string.h> #include <string.h>

View file

@ -6,13 +6,13 @@
#define BITCOIN_CRYPTO_COMMON_H #define BITCOIN_CRYPTO_COMMON_H
#if defined(HAVE_CONFIG_H) #if defined(HAVE_CONFIG_H)
#include "config/bitcoin-config.h" #include <config/bitcoin-config.h>
#endif #endif
#include <stdint.h> #include <stdint.h>
#include <string.h> #include <string.h>
#include "compat/endian.h" #include <compat/endian.h>
uint16_t static inline ReadLE16(const unsigned char* ptr) uint16_t static inline ReadLE16(const unsigned char* ptr)
{ {

View file

@ -2,7 +2,7 @@
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "crypto/hmac_sha256.h" #include <crypto/hmac_sha256.h>
#include <string.h> #include <string.h>

View file

@ -5,7 +5,7 @@
#ifndef BITCOIN_CRYPTO_HMAC_SHA256_H #ifndef BITCOIN_CRYPTO_HMAC_SHA256_H
#define BITCOIN_CRYPTO_HMAC_SHA256_H #define BITCOIN_CRYPTO_HMAC_SHA256_H
#include "crypto/sha256.h" #include <crypto/sha256.h>
#include <stdint.h> #include <stdint.h>
#include <stdlib.h> #include <stdlib.h>

View file

@ -2,7 +2,7 @@
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "crypto/hmac_sha512.h" #include <crypto/hmac_sha512.h>
#include <string.h> #include <string.h>

View file

@ -5,7 +5,7 @@
#ifndef BITCOIN_CRYPTO_HMAC_SHA512_H #ifndef BITCOIN_CRYPTO_HMAC_SHA512_H
#define BITCOIN_CRYPTO_HMAC_SHA512_H #define BITCOIN_CRYPTO_HMAC_SHA512_H
#include "crypto/sha512.h" #include <crypto/sha512.h>
#include <stdint.h> #include <stdint.h>
#include <stdlib.h> #include <stdlib.h>

View file

@ -2,9 +2,9 @@
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "crypto/ripemd160.h" #include <crypto/ripemd160.h>
#include "crypto/common.h" #include <crypto/common.h>
#include <string.h> #include <string.h>

View file

@ -2,9 +2,9 @@
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "crypto/sha1.h" #include <crypto/sha1.h>
#include "crypto/common.h" #include <crypto/common.h>
#include <string.h> #include <string.h>

View file

@ -2,8 +2,8 @@
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "crypto/sha256.h" #include <crypto/sha256.h>
#include "crypto/common.h" #include <crypto/common.h>
#include <assert.h> #include <assert.h>
#include <string.h> #include <string.h>

View file

@ -2,9 +2,9 @@
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "crypto/sha512.h" #include <crypto/sha512.h>
#include "crypto/common.h" #include <crypto/common.h>
#include <string.h> #include <string.h>

View file

@ -2,11 +2,11 @@
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "dbwrapper.h" #include <dbwrapper.h>
#include "fs.h" #include <fs.h>
#include "util.h" #include <util.h>
#include "random.h" #include <random.h>
#include <leveldb/cache.h> #include <leveldb/cache.h>
#include <leveldb/env.h> #include <leveldb/env.h>

View file

@ -5,13 +5,13 @@
#ifndef BITCOIN_DBWRAPPER_H #ifndef BITCOIN_DBWRAPPER_H
#define BITCOIN_DBWRAPPER_H #define BITCOIN_DBWRAPPER_H
#include "clientversion.h" #include <clientversion.h>
#include "fs.h" #include <fs.h>
#include "serialize.h" #include <serialize.h>
#include "streams.h" #include <streams.h>
#include "util.h" #include <util.h>
#include "utilstrencodings.h" #include <utilstrencodings.h>
#include "version.h" #include <version.h>
#include <leveldb/db.h> #include <leveldb/db.h>
#include <leveldb/write_batch.h> #include <leveldb/write_batch.h>

View file

@ -1,4 +1,4 @@
#include "fs.h" #include <fs.h>
namespace fsbridge { namespace fsbridge {

View file

@ -2,10 +2,10 @@
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "hash.h" #include <hash.h>
#include "crypto/common.h" #include <crypto/common.h>
#include "crypto/hmac_sha512.h" #include <crypto/hmac_sha512.h>
#include "pubkey.h" #include <pubkey.h>
inline uint32_t ROTL32(uint32_t x, int8_t r) inline uint32_t ROTL32(uint32_t x, int8_t r)

View file

@ -6,12 +6,12 @@
#ifndef BITCOIN_HASH_H #ifndef BITCOIN_HASH_H
#define BITCOIN_HASH_H #define BITCOIN_HASH_H
#include "crypto/ripemd160.h" #include <crypto/ripemd160.h>
#include "crypto/sha256.h" #include <crypto/sha256.h>
#include "prevector.h" #include <prevector.h>
#include "serialize.h" #include <serialize.h>
#include "uint256.h" #include <uint256.h>
#include "version.h" #include <version.h>
#include <vector> #include <vector>

View file

@ -2,19 +2,19 @@
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "httprpc.h" #include <httprpc.h>
#include "base58.h" #include <base58.h>
#include "chainparams.h" #include <chainparams.h>
#include "httpserver.h" #include <httpserver.h>
#include "rpc/protocol.h" #include <rpc/protocol.h>
#include "rpc/server.h" #include <rpc/server.h>
#include "random.h" #include <random.h>
#include "sync.h" #include <sync.h>
#include "util.h" #include <util.h>
#include "utilstrencodings.h" #include <utilstrencodings.h>
#include "ui_interface.h" #include <ui_interface.h>
#include "crypto/hmac_sha256.h" #include <crypto/hmac_sha256.h>
#include <stdio.h> #include <stdio.h>
#include <boost/algorithm/string.hpp> // boost::trim #include <boost/algorithm/string.hpp> // boost::trim

View file

@ -2,16 +2,16 @@
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "httpserver.h" #include <httpserver.h>
#include "chainparamsbase.h" #include <chainparamsbase.h>
#include "compat.h" #include <compat.h>
#include "util.h" #include <util.h>
#include "utilstrencodings.h" #include <utilstrencodings.h>
#include "netbase.h" #include <netbase.h>
#include "rpc/protocol.h" // For HTTP status codes #include <rpc/protocol.h> // For HTTP status codes
#include "sync.h" #include <sync.h>
#include "ui_interface.h" #include <ui_interface.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
@ -28,7 +28,7 @@
#include <event2/util.h> #include <event2/util.h>
#include <event2/keyvalq_struct.h> #include <event2/keyvalq_struct.h>
#include "support/events.h" #include <support/events.h>
#ifdef EVENT__HAVE_NETINET_IN_H #ifdef EVENT__HAVE_NETINET_IN_H
#include <netinet/in.h> #include <netinet/in.h>

View file

@ -4,49 +4,49 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H) #if defined(HAVE_CONFIG_H)
#include "config/bitcoin-config.h" #include <config/bitcoin-config.h>
#endif #endif
#include "init.h" #include <init.h>
#include "addrman.h" #include <addrman.h>
#include "amount.h" #include <amount.h>
#include "chain.h" #include <chain.h>
#include "chainparams.h" #include <chainparams.h>
#include "checkpoints.h" #include <checkpoints.h>
#include "compat/sanity.h" #include <compat/sanity.h>
#include "consensus/validation.h" #include <consensus/validation.h>
#include "fs.h" #include <fs.h>
#include "httpserver.h" #include <httpserver.h>
#include "httprpc.h" #include <httprpc.h>
#include "key.h" #include <key.h>
#include "validation.h" #include <validation.h>
#include "miner.h" #include <miner.h>
#include "netbase.h" #include <netbase.h>
#include "net.h" #include <net.h>
#include "net_processing.h" #include <net_processing.h>
#include "policy/feerate.h" #include <policy/feerate.h>
#include "policy/fees.h" #include <policy/fees.h>
#include "policy/policy.h" #include <policy/policy.h>
#include "rpc/server.h" #include <rpc/server.h>
#include "rpc/register.h" #include <rpc/register.h>
#include "rpc/safemode.h" #include <rpc/safemode.h>
#include "rpc/blockchain.h" #include <rpc/blockchain.h>
#include "script/standard.h" #include <script/standard.h>
#include "script/sigcache.h" #include <script/sigcache.h>
#include "scheduler.h" #include <scheduler.h>
#include "timedata.h" #include <timedata.h>
#include "txdb.h" #include <txdb.h>
#include "txmempool.h" #include <txmempool.h>
#include "torcontrol.h" #include <torcontrol.h>
#include "ui_interface.h" #include <ui_interface.h>
#include "util.h" #include <util.h>
#include "utilmoneystr.h" #include <utilmoneystr.h>
#include "validationinterface.h" #include <validationinterface.h>
#ifdef ENABLE_WALLET #ifdef ENABLE_WALLET
#include "wallet/init.h" #include <wallet/init.h>
#endif #endif
#include "warnings.h" #include <warnings.h>
#include <stdint.h> #include <stdint.h>
#include <stdio.h> #include <stdio.h>
#include <memory> #include <memory>
@ -64,7 +64,7 @@
#include <openssl/crypto.h> #include <openssl/crypto.h>
#if ENABLE_ZMQ #if ENABLE_ZMQ
#include "zmq/zmqnotificationinterface.h" #include <zmq/zmqnotificationinterface.h>
#endif #endif
bool fFeeEstimatesInitialized = false; bool fFeeEstimatesInitialized = false;

View file

@ -2,13 +2,13 @@
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "key.h" #include <key.h>
#include "arith_uint256.h" #include <arith_uint256.h>
#include "crypto/common.h" #include <crypto/common.h>
#include "crypto/hmac_sha512.h" #include <crypto/hmac_sha512.h>
#include "pubkey.h" #include <pubkey.h>
#include "random.h" #include <random.h>
#include <secp256k1.h> #include <secp256k1.h>
#include <secp256k1_recovery.h> #include <secp256k1_recovery.h>

View file

@ -6,10 +6,10 @@
#ifndef BITCOIN_KEY_H #ifndef BITCOIN_KEY_H
#define BITCOIN_KEY_H #define BITCOIN_KEY_H
#include "pubkey.h" #include <pubkey.h>
#include "serialize.h" #include <serialize.h>
#include "support/allocators/secure.h" #include <support/allocators/secure.h>
#include "uint256.h" #include <uint256.h>
#include <stdexcept> #include <stdexcept>
#include <vector> #include <vector>

View file

@ -3,11 +3,11 @@
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "keystore.h" #include <keystore.h>
#include "key.h" #include <key.h>
#include "pubkey.h" #include <pubkey.h>
#include "util.h" #include <util.h>
bool CKeyStore::AddKey(const CKey &key) { bool CKeyStore::AddKey(const CKey &key) {
return AddKeyPubKey(key, key.GetPubKey()); return AddKeyPubKey(key, key.GetPubKey());

View file

@ -6,11 +6,11 @@
#ifndef BITCOIN_KEYSTORE_H #ifndef BITCOIN_KEYSTORE_H
#define BITCOIN_KEYSTORE_H #define BITCOIN_KEYSTORE_H
#include "key.h" #include <key.h>
#include "pubkey.h" #include <pubkey.h>
#include "script/script.h" #include <script/script.h>
#include "script/standard.h" #include <script/standard.h>
#include "sync.h" #include <sync.h>
#include <boost/signals2/signal.hpp> #include <boost/signals2/signal.hpp>

View file

@ -5,7 +5,7 @@
#ifndef BITCOIN_MEMUSAGE_H #ifndef BITCOIN_MEMUSAGE_H
#define BITCOIN_MEMUSAGE_H #define BITCOIN_MEMUSAGE_H
#include "indirectmap.h" #include <indirectmap.h>
#include <stdlib.h> #include <stdlib.h>

View file

@ -3,11 +3,11 @@
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "merkleblock.h" #include <merkleblock.h>
#include "hash.h" #include <hash.h>
#include "consensus/consensus.h" #include <consensus/consensus.h>
#include "utilstrencodings.h" #include <utilstrencodings.h>
CMerkleBlock::CMerkleBlock(const CBlock& block, CBloomFilter* filter, const std::set<uint256>* txids) CMerkleBlock::CMerkleBlock(const CBlock& block, CBloomFilter* filter, const std::set<uint256>* txids)

View file

@ -6,10 +6,10 @@
#ifndef BITCOIN_MERKLEBLOCK_H #ifndef BITCOIN_MERKLEBLOCK_H
#define BITCOIN_MERKLEBLOCK_H #define BITCOIN_MERKLEBLOCK_H
#include "serialize.h" #include <serialize.h>
#include "uint256.h" #include <uint256.h>
#include "primitives/block.h" #include <primitives/block.h>
#include "bloom.h" #include <bloom.h>
#include <vector> #include <vector>

View file

@ -3,29 +3,29 @@
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "miner.h" #include <miner.h>
#include "amount.h" #include <amount.h>
#include "chain.h" #include <chain.h>
#include "chainparams.h" #include <chainparams.h>
#include "coins.h" #include <coins.h>
#include "consensus/consensus.h" #include <consensus/consensus.h>
#include "consensus/tx_verify.h" #include <consensus/tx_verify.h>
#include "consensus/merkle.h" #include <consensus/merkle.h>
#include "consensus/validation.h" #include <consensus/validation.h>
#include "hash.h" #include <hash.h>
#include "validation.h" #include <validation.h>
#include "net.h" #include <net.h>
#include "policy/feerate.h" #include <policy/feerate.h>
#include "policy/policy.h" #include <policy/policy.h>
#include "pow.h" #include <pow.h>
#include "primitives/transaction.h" #include <primitives/transaction.h>
#include "script/standard.h" #include <script/standard.h>
#include "timedata.h" #include <timedata.h>
#include "txmempool.h" #include <txmempool.h>
#include "util.h" #include <util.h>
#include "utilmoneystr.h" #include <utilmoneystr.h>
#include "validationinterface.h" #include <validationinterface.h>
#include <algorithm> #include <algorithm>
#include <queue> #include <queue>

View file

@ -6,8 +6,8 @@
#ifndef BITCOIN_MINER_H #ifndef BITCOIN_MINER_H
#define BITCOIN_MINER_H #define BITCOIN_MINER_H
#include "primitives/block.h" #include <primitives/block.h>
#include "txmempool.h" #include <txmempool.h>
#include <stdint.h> #include <stdint.h>
#include <memory> #include <memory>

View file

@ -4,23 +4,23 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H) #if defined(HAVE_CONFIG_H)
#include "config/bitcoin-config.h" #include <config/bitcoin-config.h>
#endif #endif
#include "net.h" #include <net.h>
#include "addrman.h" #include <addrman.h>
#include "chainparams.h" #include <chainparams.h>
#include "clientversion.h" #include <clientversion.h>
#include "consensus/consensus.h" #include <consensus/consensus.h>
#include "crypto/common.h" #include <crypto/common.h>
#include "crypto/sha256.h" #include <crypto/sha256.h>
#include "hash.h" #include <hash.h>
#include "primitives/transaction.h" #include <primitives/transaction.h>
#include "netbase.h" #include <netbase.h>
#include "scheduler.h" #include <scheduler.h>
#include "ui_interface.h" #include <ui_interface.h>
#include "utilstrencodings.h" #include <utilstrencodings.h>
#ifdef WIN32 #ifdef WIN32
#include <string.h> #include <string.h>

View file

@ -6,21 +6,21 @@
#ifndef BITCOIN_NET_H #ifndef BITCOIN_NET_H
#define BITCOIN_NET_H #define BITCOIN_NET_H
#include "addrdb.h" #include <addrdb.h>
#include "addrman.h" #include <addrman.h>
#include "amount.h" #include <amount.h>
#include "bloom.h" #include <bloom.h>
#include "compat.h" #include <compat.h>
#include "hash.h" #include <hash.h>
#include "limitedmap.h" #include <limitedmap.h>
#include "netaddress.h" #include <netaddress.h>
#include "policy/feerate.h" #include <policy/feerate.h>
#include "protocol.h" #include <protocol.h>
#include "random.h" #include <random.h>
#include "streams.h" #include <streams.h>
#include "sync.h" #include <sync.h>
#include "uint256.h" #include <uint256.h>
#include "threadinterrupt.h" #include <threadinterrupt.h>
#include <atomic> #include <atomic>
#include <deque> #include <deque>

View file

@ -3,34 +3,34 @@
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "net_processing.h" #include <net_processing.h>
#include "addrman.h" #include <addrman.h>
#include "arith_uint256.h" #include <arith_uint256.h>
#include "blockencodings.h" #include <blockencodings.h>
#include "chainparams.h" #include <chainparams.h>
#include "consensus/validation.h" #include <consensus/validation.h>
#include "hash.h" #include <hash.h>
#include "init.h" #include <init.h>
#include "validation.h" #include <validation.h>
#include "merkleblock.h" #include <merkleblock.h>
#include "net.h" #include <net.h>
#include "netmessagemaker.h" #include <netmessagemaker.h>
#include "netbase.h" #include <netbase.h>
#include "policy/fees.h" #include <policy/fees.h>
#include "policy/policy.h" #include <policy/policy.h>
#include "primitives/block.h" #include <primitives/block.h>
#include "primitives/transaction.h" #include <primitives/transaction.h>
#include "random.h" #include <random.h>
#include "reverse_iterator.h" #include <reverse_iterator.h>
#include "scheduler.h" #include <scheduler.h>
#include "tinyformat.h" #include <tinyformat.h>
#include "txmempool.h" #include <txmempool.h>
#include "ui_interface.h" #include <ui_interface.h>
#include "util.h" #include <util.h>
#include "utilmoneystr.h" #include <utilmoneystr.h>
#include "utilstrencodings.h" #include <utilstrencodings.h>
#include "validationinterface.h" #include <validationinterface.h>
#if defined(NDEBUG) #if defined(NDEBUG)
# error "Bitcoin cannot be compiled without assertions." # error "Bitcoin cannot be compiled without assertions."

View file

@ -6,9 +6,9 @@
#ifndef BITCOIN_NET_PROCESSING_H #ifndef BITCOIN_NET_PROCESSING_H
#define BITCOIN_NET_PROCESSING_H #define BITCOIN_NET_PROCESSING_H
#include "net.h" #include <net.h>
#include "validationinterface.h" #include <validationinterface.h>
#include "consensus/params.h" #include <consensus/params.h>
/** Default for -maxorphantx, maximum number of orphan transactions kept in memory */ /** Default for -maxorphantx, maximum number of orphan transactions kept in memory */
static const unsigned int DEFAULT_MAX_ORPHAN_TRANSACTIONS = 100; static const unsigned int DEFAULT_MAX_ORPHAN_TRANSACTIONS = 100;

View file

@ -4,13 +4,13 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config/bitcoin-config.h" #include <config/bitcoin-config.h>
#endif #endif
#include "netaddress.h" #include <netaddress.h>
#include "hash.h" #include <hash.h>
#include "utilstrencodings.h" #include <utilstrencodings.h>
#include "tinyformat.h" #include <tinyformat.h>
static const unsigned char pchIPv4[12] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0xff, 0xff }; static const unsigned char pchIPv4[12] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0xff, 0xff };
static const unsigned char pchOnionCat[] = {0xFD,0x87,0xD8,0x7E,0xEB,0x43}; static const unsigned char pchOnionCat[] = {0xFD,0x87,0xD8,0x7E,0xEB,0x43};

View file

@ -6,11 +6,11 @@
#define BITCOIN_NETADDRESS_H #define BITCOIN_NETADDRESS_H
#if defined(HAVE_CONFIG_H) #if defined(HAVE_CONFIG_H)
#include "config/bitcoin-config.h" #include <config/bitcoin-config.h>
#endif #endif
#include "compat.h" #include <compat.h>
#include "serialize.h" #include <serialize.h>
#include <stdint.h> #include <stdint.h>
#include <string> #include <string>

View file

@ -4,17 +4,17 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config/bitcoin-config.h" #include <config/bitcoin-config.h>
#endif #endif
#include "netbase.h" #include <netbase.h>
#include "hash.h" #include <hash.h>
#include "sync.h" #include <sync.h>
#include "uint256.h" #include <uint256.h>
#include "random.h" #include <random.h>
#include "util.h" #include <util.h>
#include "utilstrencodings.h" #include <utilstrencodings.h>
#include <atomic> #include <atomic>

View file

@ -6,12 +6,12 @@
#define BITCOIN_NETBASE_H #define BITCOIN_NETBASE_H
#if defined(HAVE_CONFIG_H) #if defined(HAVE_CONFIG_H)
#include "config/bitcoin-config.h" #include <config/bitcoin-config.h>
#endif #endif
#include "compat.h" #include <compat.h>
#include "netaddress.h" #include <netaddress.h>
#include "serialize.h" #include <serialize.h>
#include <stdint.h> #include <stdint.h>
#include <string> #include <string>

View file

@ -6,8 +6,8 @@
#ifndef BITCOIN_NETMESSAGEMAKER_H #ifndef BITCOIN_NETMESSAGEMAKER_H
#define BITCOIN_NETMESSAGEMAKER_H #define BITCOIN_NETMESSAGEMAKER_H
#include "net.h" #include <net.h>
#include "serialize.h" #include <serialize.h>
class CNetMsgMaker class CNetMsgMaker
{ {

View file

@ -3,10 +3,10 @@
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "noui.h" #include <noui.h>
#include "ui_interface.h" #include <ui_interface.h>
#include "util.h" #include <util.h>
#include <cstdio> #include <cstdio>
#include <stdint.h> #include <stdint.h>

View file

@ -3,9 +3,9 @@
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "feerate.h" #include <policy/feerate.h>
#include "tinyformat.h" #include <tinyformat.h>
const std::string CURRENCY_UNIT = "BTC"; const std::string CURRENCY_UNIT = "BTC";

Some files were not shown because too many files have changed in this diff Show more