|
|
@ -52,7 +52,7 @@ BOOST_AUTO_TEST_CASE(May15) |
|
|
|
if (read_block("Mar12Fork.dat", forkingBlock)) |
|
|
|
if (read_block("Mar12Fork.dat", forkingBlock)) |
|
|
|
{ |
|
|
|
{ |
|
|
|
CValidationState state; |
|
|
|
CValidationState state; |
|
|
|
BOOST_CHECK(!forkingBlock.CheckBlock(state, true, true)); |
|
|
|
forkingBlock.nTime = tMay15-1; // Invalidates PoW
|
|
|
|
BOOST_CHECK(!forkingBlock.CheckBlock(state, false, false)); |
|
|
|
BOOST_CHECK(!forkingBlock.CheckBlock(state, false, false)); |
|
|
|
|
|
|
|
|
|
|
|
// After May 15'th, big blocks are OK:
|
|
|
|
// After May 15'th, big blocks are OK:
|
|
|
|