Commit 3fef916 1 parent 89a51e5 commit 3fef916 Copy full SHA for 3fef916
File tree 8 files changed +21
-20
lines changed
8 files changed +21
-20
lines changed Original file line number Diff line number Diff line change 2459
2459
</ClInclude >
2460
2460
<ClInclude Include =" ..\..\src\ripple\core\Section.h" >
2461
2461
</ClInclude >
2462
+ <ClInclude Include =" ..\..\src\ripple\core\SystemParameters.h" >
2463
+ </ClInclude >
2462
2464
<ClCompile Include =" ..\..\src\ripple\data\crypto\Base58Data.cpp" >
2463
2465
<ExcludedFromBuild >True</ExcludedFromBuild >
2464
2466
</ClCompile >
2504
2506
</ClCompile >
2505
2507
<ClInclude Include =" ..\..\src\ripple\data\protocol\RippleAddress.h" >
2506
2508
</ClInclude >
2507
- <ClInclude Include =" ..\..\src\ripple\data\protocol\RippleSystem.h" >
2508
- </ClInclude >
2509
2509
<ClCompile Include =" ..\..\src\ripple\data\protocol\SerializedObjectTemplate.cpp" >
2510
2510
<ExcludedFromBuild >True</ExcludedFromBuild >
2511
2511
</ClCompile >
Original file line number Diff line number Diff line change 3525
3525
<ClInclude Include =" ..\..\src\ripple\core\Section.h" >
3526
3526
<Filter >ripple\core</Filter >
3527
3527
</ClInclude >
3528
+ <ClInclude Include =" ..\..\src\ripple\core\SystemParameters.h" >
3529
+ <Filter >ripple\core</Filter >
3530
+ </ClInclude >
3528
3531
<ClCompile Include =" ..\..\src\ripple\data\crypto\Base58Data.cpp" >
3529
3532
<Filter >ripple\data\crypto</Filter >
3530
3533
</ClCompile >
3579
3582
<ClInclude Include =" ..\..\src\ripple\data\protocol\RippleAddress.h" >
3580
3583
<Filter >ripple\data\protocol</Filter >
3581
3584
</ClInclude >
3582
- <ClInclude Include =" ..\..\src\ripple\data\protocol\RippleSystem.h" >
3583
- <Filter >ripple\data\protocol</Filter >
3584
- </ClInclude >
3585
3585
<ClCompile Include =" ..\..\src\ripple\data\protocol\SerializedObjectTemplate.cpp" >
3586
3586
<Filter >ripple\data\protocol</Filter >
3587
3587
</ClCompile >
Original file line number Diff line number Diff line change 21
21
#define RIPPLE_CORE_CONFIG_H_INCLUDED
22
22
23
23
#include < ripple/core/Section.h>
24
+ #include < ripple/core/SystemParameters.h>
24
25
#include < ripple/data/protocol/RippleAddress.h>
25
26
#include < ripple/unity/json.h>
26
27
#include < beast/http/URL.h>
@@ -99,15 +100,6 @@ class BasicConfig
99
100
100
101
// ------------------------------------------------------------------------------
101
102
102
- // VFALCO TODO Replace these with beast "unsigned long long" generators
103
- // VFALCO NOTE Apparently these are used elsewhere. Make them constants in the config
104
- // or in the Application
105
- //
106
- #define SYSTEM_CURRENCY_GIFT 1000ull
107
- #define SYSTEM_CURRENCY_USERS 100000000ull
108
- #define SYSTEM_CURRENCY_PARTS 1000000ull // 10^SYSTEM_CURRENCY_PRECISION
109
- #define SYSTEM_CURRENCY_START (SYSTEM_CURRENCY_GIFT*SYSTEM_CURRENCY_USERS*SYSTEM_CURRENCY_PARTS)
110
-
111
103
const int SYSTEM_PEER_PORT = 6561 ;
112
104
113
105
enum SizedItemName
Original file line number Diff line number Diff line change 17
17
*/
18
18
// ==============================================================================
19
19
20
- #ifndef RIPPLE_RIPPLESYSTEM_H
21
- #define RIPPLE_RIPPLESYSTEM_H
20
+ #ifndef RIPPLE_CORE_SYSTEMPARAMETERS_H_INCLUDED
21
+ #define RIPPLE_CORE_SYSTEMPARAMETERS_H_INCLUDED
22
22
23
23
namespace ripple {
24
24
@@ -56,6 +56,15 @@ class RippleSystem
56
56
#define SYSTEM_NAME " ripple"
57
57
#define SYSTEM_CURRENCY_PRECISION 6
58
58
59
+ // VFALCO TODO Replace with C++11 long long constants
60
+ // VFALCO NOTE Apparently these are used elsewhere. Make them constants in the config
61
+ // or in the Application
62
+ //
63
+ #define SYSTEM_CURRENCY_GIFT 1000ull
64
+ #define SYSTEM_CURRENCY_USERS 100000000ull
65
+ #define SYSTEM_CURRENCY_PARTS 1000000ull // 10^SYSTEM_CURRENCY_PRECISION
66
+ #define SYSTEM_CURRENCY_START (SYSTEM_CURRENCY_GIFT*SYSTEM_CURRENCY_USERS*SYSTEM_CURRENCY_PARTS)
67
+
59
68
} // ripple
60
69
61
70
#endif
Original file line number Diff line number Diff line change 20
20
#include < ripple/core/Config.h>
21
21
#include < ripple/core/ConfigSections.h>
22
22
#include < ripple/basics/Log.h>
23
- #include < ripple/data/protocol/RippleSystem .h>
23
+ #include < ripple/core/SystemParameters .h>
24
24
#include < ripple/net/HTTPClient.h>
25
25
#include < beast/http/ParsedURL.h>
26
26
#include < beast/module/core/text/LexicalCast.h>
Original file line number Diff line number Diff line change 17
17
*/
18
18
// ==============================================================================
19
19
20
- #include < ripple/types/UintTypes .h>
20
+ #include < ripple/core/SystemParameters .h>
21
21
#include < ripple/data/protocol/STAmount.h>
22
+ #include < ripple/types/UintTypes.h>
22
23
#include < beast/cxx14/iterator.h>
23
24
24
25
namespace ripple {
Original file line number Diff line number Diff line change 19
19
20
20
#include < ripple/common/jsonrpc_fields.h>
21
21
#include < ripple/data/protocol/BuildInfo.h>
22
- #include < ripple/data/protocol/RippleSystem .h>
22
+ #include < ripple/core/SystemParameters .h>
23
23
24
24
namespace ripple {
25
25
Original file line number Diff line number Diff line change @@ -34,7 +34,6 @@ typedef struct bignum_st BIGNUM;
34
34
#include < ripple/data/protocol/HashPrefix.h>
35
35
#include < ripple/data/protocol/Protocol.h>
36
36
#include < ripple/data/protocol/RippleAddress.h>
37
- #include < ripple/data/protocol/RippleSystem.h>
38
37
#include < ripple/data/protocol/Serializer.h> // needs CKey
39
38
#include < ripple/data/protocol/TER.h>
40
39
#include < ripple/data/protocol/SerializedTypes.h> // needs Serializer, TER
You can’t perform that action at this time.
0 commit comments