diff --git a/README.md b/README.md index 9cd1f673c..9407fa9d4 100644 --- a/README.md +++ b/README.md @@ -95,7 +95,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 +| 53666 | 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 f2a92922e..40f637d18 100755 --- a/src/cryptonote_config.h +++ b/src/cryptonote_config.h @@ -81,7 +81,7 @@ #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 56269 // v9 fork height +#define DIFFICULTY_HEIGHT 53666 // 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 diff --git a/src/cryptonote_core/blockchain.cpp b/src/cryptonote_core/blockchain.cpp index 390cdbec1..929f34fe5 100755 --- a/src/cryptonote_core/blockchain.cpp +++ b/src/cryptonote_core/blockchain.cpp @@ -92,7 +92,7 @@ static const struct { //{ 1, 1, 0, 1341378000 }, { 7, 1, 0, 1519605000 }, { 8, 6969, 0, 1524214739 }, - { 9, 56269, 0, 1538689773 }, + { 9, 53666, 0, 1538689773 }, }; static const uint64_t mainnet_hard_fork_version_1_till = ((uint64_t)(0));