File tree Expand file tree Collapse file tree 26 files changed +114
-86
lines changed
Expand file tree Collapse file tree 26 files changed +114
-86
lines changed Original file line number Diff line number Diff line change 11// Copyright (c) 2009-2010 Satoshi Nakamoto
2- // Copyright (c) 2009-2022 The Bitcoin Core developers
2+ // Copyright (c) 2009-present The Bitcoin Core developers
33// Distributed under the MIT software license, see the accompanying
44// file COPYING or http://www.opensource.org/licenses/mit-license.php.
55#ifndef BITCOIN_BANMAN_H
66#define BITCOIN_BANMAN_H
77
88#include < addrdb.h>
99#include < common/bloom.h>
10- #include < net_types.h> // For banmap_t
10+ #include < net_types.h>
1111#include < sync.h>
1212#include < util/fs.h>
1313
Original file line number Diff line number Diff line change 11// Copyright (c) 2009-2010 Satoshi Nakamoto
2- // Copyright (c) 2009-2022 The Bitcoin Core developers
2+ // Copyright (c) 2009-present The Bitcoin Core developers
33// Distributed under the MIT software license, see the accompanying
44// file COPYING or http://www.opensource.org/licenses/mit-license.php.
55
1919#include < util/string.h>
2020
2121#ifdef WIN32
22- #include < codecvt> /* for codecvt_utf8_utf16 */
23- #include < shellapi.h> /* for CommandLineToArgvW */
24- #include < shlobj.h> /* for CSIDL_APPDATA */
22+ #include < codecvt>
23+ #include < shellapi.h>
24+ #include < shlobj.h>
2525#endif
2626
2727#include < algorithm>
Original file line number Diff line number Diff line change 77
88#include < crypto/sha3.h>
99#include < crypto/common.h>
10- #include < span.h>
1110
1211#include < algorithm>
13- #include < array> // For std::begin and std::end.
12+ #include < array>
1413#include < bit>
15-
16- #include < stdint.h >
14+ # include < cstdint >
15+ #include < span >
1716
1817void KeccakF (uint64_t (&st)[25])
1918{
Original file line number Diff line number Diff line change 77
88#include < util/fastrange.h>
99
10- #include < algorithm> // std::find
10+ #include < algorithm>
1111#include < array>
1212#include < atomic>
1313#include < cmath>
Original file line number Diff line number Diff line change 1- // Copyright (c) 2022 The Bitcoin Core developers
1+ // Copyright (c) 2022-present The Bitcoin Core developers
22// Distributed under the MIT software license, see the accompanying
33// file COPYING or http://www.opensource.org/licenses/mit-license.php.
44
88#include < arith_uint256.h>
99#include < chain.h>
1010#include < consensus/params.h>
11- #include < net.h> // For NodeId
11+ #include < net.h>
1212#include < primitives/block.h>
1313#include < uint256.h>
1414#include < util/bitdeque.h>
Original file line number Diff line number Diff line change 1- // Copyright (c) 2015-2022 The Bitcoin Core developers
1+ // Copyright (c) 2015-present The Bitcoin Core developers
22// Distributed under the MIT software license, see the accompanying
33// file COPYING or http://www.opensource.org/licenses/mit-license.php.
44
1111#include < logging.h>
1212#include < netbase.h>
1313#include < node/interface_ui.h>
14- #include < rpc/protocol.h> // For HTTP status codes
14+ #include < rpc/protocol.h>
1515#include < sync.h>
1616#include < util/check.h>
1717#include < util/signalinterrupt.h>
2727#include < optional>
2828#include < span>
2929#include < string>
30+ #include < thread>
3031#include < unordered_map>
32+ #include < vector>
3133
3234#include < sys/types.h>
3335#include < sys/stat.h>
Original file line number Diff line number Diff line change 1717#include < util/string.h>
1818#include < util/thread.h>
1919#include < util/translation.h>
20- #include < validation.h> // For g_chainman
20+ #include < validation.h>
2121
22+ #include < chrono>
23+ #include < memory>
24+ #include < optional>
25+ #include < stdexcept>
2226#include < string>
27+ #include < thread>
2328#include < utility>
2429
2530constexpr uint8_t DB_BEST_BLOCK{' B' };
Original file line number Diff line number Diff line change 1- // Copyright (c) 2018-2022 The Bitcoin Core developers
1+ // Copyright (c) 2018-present The Bitcoin Core developers
22// Distributed under the MIT software license, see the accompanying
33// file COPYING or http://www.opensource.org/licenses/mit-license.php.
44
77
88#include < blockfilter.h>
99#include < common/settings.h>
10- #include < primitives/transaction.h> // For CTransactionRef
10+ #include < primitives/transaction.h>
1111#include < util/result.h>
1212
13+ #include < cstddef>
14+ #include < cstdint>
1315#include < functional>
16+ #include < map>
1417#include < memory>
1518#include < optional>
16- #include < stddef.h>
17- #include < stdint.h>
1819#include < string>
1920#include < vector>
2021
Original file line number Diff line number Diff line change 1- // Copyright (c) 2024 The Bitcoin Core developers
1+ // Copyright (c) 2024-present The Bitcoin Core developers
22// Distributed under the MIT software license, see the accompanying
33// file COPYING or http://www.opensource.org/licenses/mit-license.php.
44
55#ifndef BITCOIN_INTERFACES_MINING_H
66#define BITCOIN_INTERFACES_MINING_H
77
8- #include < consensus/amount.h> // for CAmount
9- #include < interfaces/types.h> // for BlockRef
10- #include < node/types.h> // for BlockCreateOptions, BlockWaitOptions
11- #include < primitives/block.h> // for CBlock, CBlockHeader
12- #include < primitives/transaction.h> // for CTransactionRef
13- #include < stdint .h> // for int64_t
14- #include < uint256 .h> // for uint256
15- # include < util/time.h > // for MillisecondsDouble
16-
17- #include < memory> // for unique_ptr, shared_ptr
18- #include < optional> // for optional
19- #include < vector> // for vector
8+ #include < consensus/amount.h>
9+ #include < interfaces/types.h>
10+ #include < node/types.h>
11+ #include < primitives/block.h>
12+ #include < primitives/transaction.h>
13+ #include < uint256 .h>
14+ #include < util/time .h>
15+
16+ # include < cstdint >
17+ #include < memory>
18+ #include < optional>
19+ #include < vector>
2020
2121namespace node {
2222struct NodeContext ;
Original file line number Diff line number Diff line change 1- // Copyright (c) 2018-2022 The Bitcoin Core developers
1+ // Copyright (c) 2018-present The Bitcoin Core developers
22// Distributed under the MIT software license, see the accompanying
33// file COPYING or http://www.opensource.org/licenses/mit-license.php.
44
55#ifndef BITCOIN_INTERFACES_NODE_H
66#define BITCOIN_INTERFACES_NODE_H
77
88#include < common/settings.h>
9- #include < consensus/amount.h> // For CAmount
10- #include < logging.h> // For BCLog::CategoryMask
11- #include < net.h> // For NodeId
12- #include < net_types.h> // For banmap_t
13- #include < netaddress.h> // For Network
14- #include < netbase.h> // For ConnectionDirection
15- #include < support/allocators/secure.h> // For SecureString
9+ #include < consensus/amount.h>
10+ #include < logging.h>
11+ #include < net.h>
12+ #include < net_types.h>
13+ #include < netaddress.h>
14+ #include < netbase.h>
15+ #include < support/allocators/secure.h>
1616#include < util/translation.h>
1717
1818#include < functional>
You can’t perform that action at this time.
0 commit comments