|
|
@ -129,7 +129,6 @@ BOOST_AUTO_TEST_CASE(DoS_checknbits) |
|
|
|
|
|
|
|
|
|
|
|
// ... but OK if enough time passed for difficulty to adjust downward:
|
|
|
|
// ... but OK if enough time passed for difficulty to adjust downward:
|
|
|
|
BOOST_CHECK(CheckNBits(firstcheck.second, lastcheck.first+60*60*24*365*4, lastcheck.second, lastcheck.first)); |
|
|
|
BOOST_CHECK(CheckNBits(firstcheck.second, lastcheck.first+60*60*24*365*4, lastcheck.second, lastcheck.first)); |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
CTransaction RandomOrphan() |
|
|
|
CTransaction RandomOrphan() |
|
|
|