Skip to content

Commit 2361e38

Browse files
authored
Merge pull request #13 from n8tb1t/development
production config for algo switch at block 394000
2 parents 0aa2d5a + aa94c36 commit 2361e38

File tree

1 file changed

+17
-12
lines changed

1 file changed

+17
-12
lines changed

src/config/CryptoNoteConfig.h

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,8 @@ namespace CryptoNote
129129
should be changed to 0 to prevent issues with transaction processing
130130
and other possible unexpected behavior */
131131
const uint64_t TRANSACTION_SIGNATURE_COUNT_VALIDATION_HEIGHT = 170000;
132-
const uint64_t BLOCK_BLOB_SHUFFLE_CHECK_HEIGHT = 490000;
133-
const uint64_t TRANSACTION_INPUT_BLOCKTIME_VALIDATION_HEIGHT = 490000;
132+
const uint64_t BLOCK_BLOB_SHUFFLE_CHECK_HEIGHT = 394000;
133+
const uint64_t TRANSACTION_INPUT_BLOCKTIME_VALIDATION_HEIGHT = 394000;
134134

135135
/* This describes how many blocks of "wiggle" room transactions have regarding
136136
when the outputs can be spent based on a reasonable belief that the outputs
@@ -149,13 +149,16 @@ namespace CryptoNote
149149
const uint32_t UPGRADE_HEIGHT_V2 = 1;
150150
const uint32_t UPGRADE_HEIGHT_V3 = 2;
151151
const uint32_t UPGRADE_HEIGHT_V4 = 3; // Upgrade height for CN-Lite Variant 1 switch.
152-
const uint32_t UPGRADE_HEIGHT_V5 = 489999; // Upgrade height for CN-Turtle Variant 2 switch.
153-
const uint32_t UPGRADE_HEIGHT_V6 = 490000; // Upgrade height for Chukwa switch.
154-
const uint32_t UPGRADE_HEIGHT_CURRENT = UPGRADE_HEIGHT_V4;
152+
// Next upgrade current (382450) + 1 week (11520) = 394000
153+
const uint32_t UPGRADE_HEIGHT_V5 = 393999; // Upgrade height for CN-Turtle Variant 2 switch.
154+
const uint32_t UPGRADE_HEIGHT_V6 = 394000; // Upgrade height for Chukwa switch.
155+
const uint32_t UPGRADE_HEIGHT_CURRENT = UPGRADE_HEIGHT_V6;
155156

156157
/* This value is here to handle the difficult reset needed for the PoW upgrade
157158
at block major version V6 */
158-
const uint64_t DIFFICULTY_RESET_HEIGHT_V1 = UPGRADE_HEIGHT_V6;
159+
// WARNING TODO No, thank you, we will revise the reset option later.
160+
// Let's postpone it for 1000 days from now. 1833950
161+
const uint64_t DIFFICULTY_RESET_HEIGHT_V1 = 1833950;
159162
const float DIFFICULTY_RESET_MULTIPLIER_V1 = 0.1;
160163
const uint64_t DIFFICULTY_RESET_WINDOW_V1 = DIFFICULTY_BLOCKS_COUNT_V3;
161164

@@ -170,7 +173,7 @@ namespace CryptoNote
170173
{
171174
21000, // 0
172175
170000, // 1
173-
490000, // 2
176+
394000, // 2
174177
770000 // 3
175178
};
176179

@@ -237,7 +240,7 @@ namespace CryptoNote
237240
// P2P Network Configuration Section - This defines our current P2P network version
238241
// and the minimum version for communication between nodes
239242
const uint8_t P2P_CURRENT_VERSION = 6;
240-
const uint8_t P2P_MINIMUM_VERSION = 3;
243+
const uint8_t P2P_MINIMUM_VERSION = 4;
241244

242245
// This defines the minimum P2P version required for lite blocks propogation
243246
const uint8_t P2P_LITE_BLOCKS_PROPOGATION_VERSION = 4;
@@ -266,7 +269,7 @@ namespace CryptoNote
266269
const uint32_t DATABASE_DEFAULT_MAX_OPEN_FILES = 500; // 500 files
267270
const uint16_t DATABASE_DEFAULT_BACKGROUND_THREADS_COUNT = 10; // 10 DB threads
268271

269-
const char LATEST_VERSION_URL[] = "http://catalystcrypto.net";
272+
const char LATEST_VERSION_URL[] = "https://www.cryptocatalyst.net";
270273
const std::string LICENSE_URL = "https://github.com/catalystdevelopment/catalyst/blob/development/LICENSE";
271274
const static boost::uuids::uuid CRYPTONOTE_NETWORK =
272275
{
@@ -275,8 +278,10 @@ namespace CryptoNote
275278
};
276279

277280
const char* const SEED_NODES[] = {
278-
"45.76.31.135:17290", // oddbox
279-
"66.42.87.139:17290",
280-
"188.166.157.115:17290" // H3R3TiK
281+
"node-chukwa-01.cryptocatalyst.net:17290",
282+
"node-chukwa-02.cryptocatalyst.net:17290",
283+
"node-chukwa-03.cryptocatalyst.net:17290",
284+
"node-chukwa-04.cryptocatalyst.net:17290",
285+
"node-chukwa-05.cryptocatalyst.net:17290"
281286
};
282287
} // CryptoNote

0 commit comments

Comments
 (0)