Browse Source

Blocktime targets 12s.

cl-refactor
Gav Wood 10 years ago
parent
commit
d6aee23642
  1. 2
      libethcore/BlockInfo.cpp

2
libethcore/BlockInfo.cpp

@ -190,7 +190,7 @@ u256 BlockInfo::calculateDifficulty(BlockInfo const& _parent) const
if (!parentHash)
return c_genesisDifficulty;
else
return timestamp >= _parent.timestamp + 5 ? _parent.difficulty - (_parent.difficulty >> 10) : (_parent.difficulty + (_parent.difficulty >> 10));
return timestamp >= _parent.timestamp + 8 ? _parent.difficulty - (_parent.difficulty >> 10) : (_parent.difficulty + (_parent.difficulty >> 10));
}
void BlockInfo::verifyParent(BlockInfo const& _parent) const

Loading…
Cancel
Save