File tree Expand file tree Collapse file tree 9 files changed +25
-24
lines changed Expand file tree Collapse file tree 9 files changed +25
-24
lines changed Original file line number Diff line number Diff line change @@ -42,8 +42,8 @@ BITCOIN_TESTS =\
42
42
test/bloom_tests.cpp \
43
43
test/checkblock_tests.cpp \
44
44
test/Checkpoints_tests.cpp \
45
- test/compress_tests.cpp \
46
45
test/coins_tests.cpp \
46
+ test/compress_tests.cpp \
47
47
test/crypto_tests.cpp \
48
48
test/DoS_tests.cpp \
49
49
test/getarg_tests.cpp \
@@ -58,17 +58,17 @@ BITCOIN_TESTS =\
58
58
test/rpc_tests.cpp \
59
59
test/script_P2SH_tests.cpp \
60
60
test/script_tests.cpp \
61
+ test/scriptnum_tests.cpp \
61
62
test/serialize_tests.cpp \
63
+ test/sighash_tests.cpp \
62
64
test/sigopcount_tests.cpp \
63
65
test/skiplist_tests.cpp \
64
66
test/test_bitcoin.cpp \
65
67
test/timedata_tests.cpp \
66
68
test/transaction_tests.cpp \
67
69
test/uint256_tests.cpp \
68
70
test/univalue_tests.cpp \
69
- test/util_tests.cpp \
70
- test/scriptnum_tests.cpp \
71
- test/sighash_tests.cpp
71
+ test/util_tests.cpp
72
72
73
73
if ENABLE_WALLET
74
74
BITCOIN_TESTS += \
Original file line number Diff line number Diff line change 1
1
// Copyright (c) 2009-2014 The Bitcoin developers
2
- // Distributed under the MIT/X11 software license, see the accompanying
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
#include " ecwrapper.h"
Original file line number Diff line number Diff line change 1
1
// Copyright (c) 2009-2014 The Bitcoin developers
2
- // Distributed under the MIT/X11 software license, see the accompanying
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_EC_WRAPPER_H
@@ -43,4 +43,4 @@ class CECKey {
43
43
static bool SanityCheck ();
44
44
};
45
45
46
- #endif
46
+ #endif // BITCOIN_EC_WRAPPER_H
Original file line number Diff line number Diff line change 39
39
#include < boost/unordered_map.hpp>
40
40
41
41
class CBlockIndex ;
42
+ class CBlockTreeDB ;
42
43
class CBloomFilter ;
43
44
class CInv ;
45
+ class CScriptCheck ;
46
+ class CValidationInterface ;
47
+ class CValidationState ;
48
+
49
+ struct CBlockTemplate ;
50
+ struct CNodeStateStats ;
44
51
45
52
/* * The maximum allowed size for a serialized block, in bytes (network rule) */
46
53
static const unsigned int MAX_BLOCK_SIZE = 1000000 ;
@@ -128,15 +135,6 @@ extern CBlockIndex *pindexBestHeader;
128
135
// Minimum disk space required - used in CheckDiskSpace()
129
136
static const uint64_t nMinDiskSpace = 52428800 ;
130
137
131
-
132
- class CBlockTreeDB ;
133
- class CScriptCheck ;
134
- class CValidationState ;
135
- class CValidationInterface ;
136
- struct CNodeStateStats ;
137
-
138
- struct CBlockTemplate ;
139
-
140
138
/* * Register a wallet to receive updates from core */
141
139
void RegisterValidationInterface (CValidationInterface* pwalletIn);
142
140
/* * Unregister a wallet from core */
Original file line number Diff line number Diff line change 7
7
8
8
#include < QDialog>
9
9
10
- class QDataWidgetMapper ;
11
10
class OptionsModel ;
12
11
class QValidatedLineEdit ;
13
12
13
+ QT_BEGIN_NAMESPACE
14
+ class QDataWidgetMapper ;
15
+ QT_END_NAMESPACE
16
+
14
17
namespace Ui {
15
18
class OptionsDialog ;
16
19
}
Original file line number Diff line number Diff line change @@ -474,7 +474,7 @@ struct CompareBlocksByHeight
474
474
bool operator ()(const CBlockIndex* a, const CBlockIndex* b) const
475
475
{
476
476
/* Make sure that unequal blocks with the same height do not compare
477
- equal. Use the pointers themselves to make a distinction. */
477
+ equal. Use the pointers themselves to make a distinction. */
478
478
479
479
if (a->nHeight != b->nHeight )
480
480
return (a->nHeight > b->nHeight );
Original file line number Diff line number Diff line change 7
7
#define _BITCOINRPC_SERVER_H_
8
8
9
9
#include " amount.h"
10
- #include " uint256.h"
11
10
#include " rpcprotocol.h"
11
+ #include " uint256.h"
12
12
13
13
#include < list>
14
14
#include < map>
Original file line number Diff line number Diff line change @@ -332,7 +332,7 @@ class CMinerPolicyEstimator
332
332
size_t numEntries;
333
333
filein >> numEntries;
334
334
if (numEntries <= 0 || numEntries > 10000 )
335
- throw runtime_error (" Corrupt estimates file. Must have between 1 and 10k entires." );
335
+ throw runtime_error (" Corrupt estimates file. Must have between 1 and 10k entires." );
336
336
337
337
std::vector<CBlockAverage> fileHistory;
338
338
@@ -343,8 +343,8 @@ class CMinerPolicyEstimator
343
343
fileHistory.push_back (entry);
344
344
}
345
345
346
- // Now that we've processed the entire fee estimate data file and not
347
- // thrown any errors, we can copy it to our history
346
+ // Now that we've processed the entire fee estimate data file and not
347
+ // thrown any errors, we can copy it to our history
348
348
nBestSeenHeight = nFileBestSeenHeight;
349
349
history = fileHistory;
350
350
assert (history.size () > 0 );
Original file line number Diff line number Diff line change 7
7
8
8
#include " tinyformat.h"
9
9
10
- #include < errno.h>
11
- #include < limits>
12
10
#include < cstdlib>
13
11
#include < cstring>
12
+ #include < errno.h>
13
+ #include < limits>
14
14
15
15
using namespace std ;
16
16
You can’t perform that action at this time.
0 commit comments