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 1
1
// Copyright (c) 2009-2010 Satoshi Nakamoto
2
- // Copyright (c) 2009-2022 The Bitcoin Core developers
2
+ // Copyright (c) 2009-present The Bitcoin Core developers
3
3
// Distributed under the MIT software license, see the accompanying
4
4
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
5
5
#ifndef BITCOIN_BANMAN_H
6
6
#define BITCOIN_BANMAN_H
7
7
8
8
#include < addrdb.h>
9
9
#include < common/bloom.h>
10
- #include < net_types.h> // For banmap_t
10
+ #include < net_types.h>
11
11
#include < sync.h>
12
12
#include < util/fs.h>
13
13
Original file line number Diff line number Diff line change 1
1
// Copyright (c) 2009-2010 Satoshi Nakamoto
2
- // Copyright (c) 2009-2022 The Bitcoin Core developers
2
+ // Copyright (c) 2009-present The Bitcoin Core developers
3
3
// Distributed under the MIT software license, see the accompanying
4
4
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
5
5
19
19
#include < util/string.h>
20
20
21
21
#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>
25
25
#endif
26
26
27
27
#include < algorithm>
Original file line number Diff line number Diff line change 7
7
8
8
#include < crypto/sha3.h>
9
9
#include < crypto/common.h>
10
- #include < span.h>
11
10
12
11
#include < algorithm>
13
- #include < array> // For std::begin and std::end.
12
+ #include < array>
14
13
#include < bit>
15
-
16
- #include < stdint.h >
14
+ # include < cstdint >
15
+ #include < span >
17
16
18
17
void KeccakF (uint64_t (&st)[25])
19
18
{
Original file line number Diff line number Diff line change 7
7
8
8
#include < util/fastrange.h>
9
9
10
- #include < algorithm> // std::find
10
+ #include < algorithm>
11
11
#include < array>
12
12
#include < atomic>
13
13
#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
2
2
// Distributed under the MIT software license, see the accompanying
3
3
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
4
8
8
#include < arith_uint256.h>
9
9
#include < chain.h>
10
10
#include < consensus/params.h>
11
- #include < net.h> // For NodeId
11
+ #include < net.h>
12
12
#include < primitives/block.h>
13
13
#include < uint256.h>
14
14
#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
2
2
// Distributed under the MIT software license, see the accompanying
3
3
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
4
11
11
#include < logging.h>
12
12
#include < netbase.h>
13
13
#include < node/interface_ui.h>
14
- #include < rpc/protocol.h> // For HTTP status codes
14
+ #include < rpc/protocol.h>
15
15
#include < sync.h>
16
16
#include < util/check.h>
17
17
#include < util/signalinterrupt.h>
27
27
#include < optional>
28
28
#include < span>
29
29
#include < string>
30
+ #include < thread>
30
31
#include < unordered_map>
32
+ #include < vector>
31
33
32
34
#include < sys/types.h>
33
35
#include < sys/stat.h>
Original file line number Diff line number Diff line change 17
17
#include < util/string.h>
18
18
#include < util/thread.h>
19
19
#include < util/translation.h>
20
- #include < validation.h> // For g_chainman
20
+ #include < validation.h>
21
21
22
+ #include < chrono>
23
+ #include < memory>
24
+ #include < optional>
25
+ #include < stdexcept>
22
26
#include < string>
27
+ #include < thread>
23
28
#include < utility>
24
29
25
30
constexpr 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
2
2
// Distributed under the MIT software license, see the accompanying
3
3
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
4
7
7
8
8
#include < blockfilter.h>
9
9
#include < common/settings.h>
10
- #include < primitives/transaction.h> // For CTransactionRef
10
+ #include < primitives/transaction.h>
11
11
#include < util/result.h>
12
12
13
+ #include < cstddef>
14
+ #include < cstdint>
13
15
#include < functional>
16
+ #include < map>
14
17
#include < memory>
15
18
#include < optional>
16
- #include < stddef.h>
17
- #include < stdint.h>
18
19
#include < string>
19
20
#include < vector>
20
21
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
2
2
// Distributed under the MIT software license, see the accompanying
3
3
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
4
5
5
#ifndef BITCOIN_INTERFACES_MINING_H
6
6
#define BITCOIN_INTERFACES_MINING_H
7
7
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>
20
20
21
21
namespace node {
22
22
struct 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
2
2
// Distributed under the MIT software license, see the accompanying
3
3
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
4
5
5
#ifndef BITCOIN_INTERFACES_NODE_H
6
6
#define BITCOIN_INTERFACES_NODE_H
7
7
8
8
#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>
16
16
#include < util/translation.h>
17
17
18
18
#include < functional>
You can’t perform that action at this time.
0 commit comments