Skip to content
Permalink
Browse files

preparing fork height for release

  • Loading branch information...
RocksteadyTC committed Aug 9, 2018
1 parent 5cd997c commit 1385db76fa9bc3530cc6995e5f1462e73a8463fc
Showing with 2 additions and 1 deletion.
  1. +1 −0 src/CryptoNoteConfig.h
  2. +1 −1 src/CryptoNoteCore/Currency.cpp
@@ -24,6 +24,7 @@ const uint64_t CRYPTONOTE_PUBLIC_ADDRESS_BASE58_PREFIX = 6581243850;
const uint32_t CRYPTONOTE_MINED_MONEY_UNLOCK_WINDOW = 4;
const uint64_t CRYPTONOTE_BLOCK_FUTURE_TIME_LIMIT = 60 * 60 * 2;
const uint64_t CRYPTONOTE_BLOCK_FUTURE_TIME_LIMIT_V3 = 3 * DIFFICULTY_TARGET;
const uint64_t CRYPTONOTE_BLOCK_FUTURE_TIME_LIMIT_V4 = 6 * DIFFICULTY_TARGET;

const size_t BLOCKCHAIN_TIMESTAMP_CHECK_WINDOW = 60;
const size_t BLOCKCHAIN_TIMESTAMP_CHECK_WINDOW_V3 = 11;
@@ -449,7 +449,7 @@ Difficulty Currency::nextDifficultyV3(std::vector<std::uint64_t> timestamps, std
{
int64_t T = CryptoNote::parameters::DIFFICULTY_TARGET;
int64_t N = CryptoNote::parameters::DIFFICULTY_WINDOW_V3;
int64_t FTL = CryptoNote::parameters::CRYPTONOTE_BLOCK_FUTURE_TIME_LIMIT_V3;
int64_t FTL = CryptoNote::parameters::CRYPTONOTE_BLOCK_FUTURE_TIME_LIMIT_V4;
int64_t L(0), ST, sum_3_ST(0), next_D, prev_D;

if (timestamps.size() <= static_cast<uint64_t>(N))

0 comments on commit 1385db7

Please sign in to comment.
You can’t perform that action at this time.