File tree Expand file tree Collapse file tree 3 files changed +9
-11
lines changed Expand file tree Collapse file tree 3 files changed +9
-11
lines changed Original file line number Diff line number Diff line change 13
13
#include < consensus/validation.h>
14
14
#include < hash.h>
15
15
#include < index/blockfilterindex.h>
16
- #include < validation.h>
17
16
#include < merkleblock.h>
18
- #include < netmessagemaker.h>
19
17
#include < netbase.h>
18
+ #include < netmessagemaker.h>
20
19
#include < policy/fees.h>
21
20
#include < policy/policy.h>
22
21
#include < primitives/block.h>
26
25
#include < scheduler.h>
27
26
#include < tinyformat.h>
28
27
#include < txmempool.h>
29
- #include < util/system .h>
28
+ #include < util/check .h> // For NDEBUG compile time check
30
29
#include < util/strencodings.h>
30
+ #include < util/system.h>
31
+ #include < validation.h>
31
32
32
33
#include < memory>
33
34
#include < typeinfo>
34
35
35
- #if defined(NDEBUG)
36
- # error "Bitcoin cannot be compiled without assertions."
37
- #endif
38
-
39
36
/* * Expiration time for orphan transactions in seconds */
40
37
static constexpr int64_t ORPHAN_TX_EXPIRE_TIME = 20 * 60 ;
41
38
/* * Minimum time between orphan transactions expire time checks in seconds */
Original file line number Diff line number Diff line change @@ -42,4 +42,8 @@ class NonFatalCheckError : public std::runtime_error
42
42
} \
43
43
} while (false )
44
44
45
+ #if defined(NDEBUG)
46
+ #error "Cannot compile without assertions!"
47
+ #endif
48
+
45
49
#endif // BITCOIN_UTIL_CHECK_H
Original file line number Diff line number Diff line change 39
39
#include < ui_interface.h>
40
40
#include < uint256.h>
41
41
#include < undo.h>
42
+ #include < util/check.h> // For NDEBUG compile time check
42
43
#include < util/moneystr.h>
43
44
#include < util/rbf.h>
44
45
#include < util/strencodings.h>
51
52
52
53
#include < boost/algorithm/string/replace.hpp>
53
54
54
- #if defined(NDEBUG)
55
- # error "Bitcoin cannot be compiled without assertions."
56
- #endif
57
-
58
55
#define MICRO 0.000001
59
56
#define MILLI 0.001
60
57
You can’t perform that action at this time.
0 commit comments