Browse Source

Litecoin: Litecoin does not need special compat rule before Aug 15th BDB hardfork deadline because our standard block size is already comfortably 250KB.

0.8
Warren Togami 11 years ago
parent
commit
d8b855df41
  1. 4
      src/main.cpp

4
src/main.cpp

@ -4158,10 +4158,6 @@ CBlockTemplate* CreateNewBlock(CReserveKey& reservekey) @@ -4158,10 +4158,6 @@ CBlockTemplate* CreateNewBlock(CReserveKey& reservekey)
// Limit to betweeen 1K and MAX_BLOCK_SIZE-1K for sanity:
nBlockMaxSize = std::max((unsigned int)1000, std::min((unsigned int)(MAX_BLOCK_SIZE-1000), nBlockMaxSize));
// Special compatibility rule before 15 May: limit size to 500,000 bytes:
if (GetAdjustedTime() < 1368576000)
nBlockMaxSize = std::min(nBlockMaxSize, (unsigned int)(MAX_BLOCK_SIZE_GEN));
// How much of the block should be dedicated to high-priority transactions,
// included regardless of the fees they pay
unsigned int nBlockPrioritySize = GetArg("-blockprioritysize", 27000);

Loading…
Cancel
Save