From 90bf8246242bcd74b6e7cf07d9f22cfd70f55bf9 Mon Sep 17 00:00:00 2001 From: wowario Date: Mon, 24 Sep 2018 11:21:47 +0300 Subject: [PATCH] set difficulty fork height and guess --- README.md | 1 + src/cryptonote_config.h | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 28b0f92c8..c38f516fb 100644 --- a/README.md +++ b/README.md @@ -94,6 +94,7 @@ Dates are provided in the format YYYY-MM-DD. | ------------------------------ | -----------| ----------------- | ---------------------- | -------------------------- | ---------------------------------------------------------------------------------- | | 1 | 2018-04-01 | v7 | v0.1.0.0 | v0.1.0.0 | Cryptonight variant 1, ringsize >= 8, sorted inputs | 6969 | 2018-04-24 | v8 | v0.2.0.0 | v0.2.0.0 | Bulletproofs, LWMA difficulty algorithm, ringsize >= 10, reduce unlock to 4 +| 56269 | 2018-10-06 | v9 | v0.3.0.0 | v0.3.0.0 | Cryptonight variant 2, LWMA v2, ringsize = 22, XXX X's indicate that these details have not been determined as of commit date. diff --git a/src/cryptonote_config.h b/src/cryptonote_config.h index a027dd060..f2a92922e 100755 --- a/src/cryptonote_config.h +++ b/src/cryptonote_config.h @@ -81,8 +81,8 @@ #define DIFFICULTY_CUT 60 // timestamps to cut after sorting #define DIFFICULTY_BLOCKS_COUNT_V2 DIFFICULTY_WINDOW_V2 + 1 // added +1 to make N=N #define DIFFICULTY_BLOCKS_COUNT DIFFICULTY_WINDOW + DIFFICULTY_LAG -#define DIFFICULTY_HEIGHT 55000 // v9 fork height -#define DIFFICULTY_GUESS 100000000 // 100m +#define DIFFICULTY_HEIGHT 56269 // v9 fork height +#define DIFFICULTY_GUESS 40000000 // difficulty at fork 40m #define DIFFICULTY_MINIMUM 10000000 // minimum difficulty set to 10m #define DIFFICULTY_TESTNET_HEIGHT 100 #define DIFFICULTY_TESTNET_GUESS 5069