Skip to content

Commit

Permalink
Checkpoint Changes
Browse files Browse the repository at this point in the history
Checkpoint Changes
  • Loading branch information
Spark-Project committed Oct 18, 2014
1 parent d753fd4 commit 71d360f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/kernel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ typedef std::map<int, unsigned int> MapModifierCheckpoints;
// Hard checkpoints of stake modifiers to ensure they are deterministic
static std::map<int, unsigned int> mapStakeModifierCheckpoints =
boost::assign::map_list_of
( 0, 0xbfa1d8e4fd11f4e7 )
( 0, 0xfd11f4e7 )
;

// Hard checkpoints of stake modifiers to ensure they are deterministic (testNet)
static std::map<int, unsigned int> mapStakeModifierCheckpointsTestNet =
boost::assign::map_list_of
( 0, 0xbfa1d8e4fd11f4e7 )
( 0, 0xfd11f4e7 )
;

// Get time weight
Expand Down
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1116,7 +1116,7 @@ static unsigned int GetNextTargetRequiredV2(const CBlockIndex* pindexLast, bool

unsigned int GetNextTargetRequired(const CBlockIndex* pindexLast, bool fProofOfStake)
{
bool IS_POW = (pindexLast->nHeight < 10001) || (pindexLast->nHeight > 50000 && pindexLast->nHeight < 60001);
bool IS_POW = (pindexLast->nHeight < 14400);

if (IS_POW) {
return GetNextTargetRequiredV1(pindexLast, fProofOfStake);
Expand Down

0 comments on commit 71d360f

Please sign in to comment.