message: fix Checkpoints_tests: use peercoin checkpoints
diff: @@ -14,21 +14,21 @@ BOOST_AUTO_TEST_SUITE(Checkpoints_tests)
  BOOST_AUTO_TEST_CASE(sanity)
  {
  - uint256 p11111 = uint256("0x0000000069e244f73d78e8fd29ba2fd2ed618bd6fa2ee92559f542fdb26e7c1d");
  - uint256 p134444 = uint256("0x00000000000005b12ffd4cd315cd34ffd4a594f430ac814c91184a0d42d2b0fe");
  - BOOST_CHECK(Checkpoints::CheckHardened(11111, p11111));
  - BOOST_CHECK(Checkpoints::CheckHardened(134444, p134444));
  + uint256 p19080 = uint256("0x000000000000bca54d9ac17881f94193fd6a270c1bb21c3bf0b37f588a40dbd7");
  + uint256 p99999 = uint256("0x27fd5e1de16a4270eb8c68dee2754a64da6312c7c3a0e99a7e6776246be1ee3f");
  + BOOST_CHECK(Checkpoints::CheckHardened(19080, p19080));
  + BOOST_CHECK(Checkpoints::CheckHardened(99999, p99999));
  // Wrong hashes at checkpoints should fail:
  - BOOST_CHECK(!Checkpoints::CheckHardened(11111, p134444));
  - BOOST_CHECK(!Checkpoints::CheckHardened(134444, p11111));
  + BOOST_CHECK(!Checkpoints::CheckHardened(19080, p99999));
  + BOOST_CHECK(!Checkpoints::CheckHardened(99999, p19080));
  // ... but any hash not at a checkpoint should succeed:
  - BOOST_CHECK(Checkpoints::CheckHardened(11111+1, p134444));
  - BOOST_CHECK(Checkpoints::CheckHardened(134444+1, p11111));
  + BOOST_CHECK(Checkpoints::CheckHardened(19080+1, p99999));
  + BOOST_CHECK(Checkpoints::CheckHardened(99999+1, p19080));
  - BOOST_CHECK(Checkpoints::GetTotalBlocksEstimate() >= 134444);
  + BOOST_CHECK(Checkpoints::GetTotalBlocksEstimate() >= 99999);
  }
  BOOST_AUTO_TEST_SUITE_END()
  