diff options
| author | Pieter Wuille <[email protected]> | 2016-11-03 00:04:20 -0700 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2016-11-03 00:08:59 -0700 |
| commit | 508404de98a8a5435f52916cef8f328e82651961 (patch) | |
| tree | d7756cd64d414858f51d77f0273f26bc4e2e4e30 /src/test/Checkpoints_tests.cpp | |
| parent | Merge #9036: wallet: Change default confirm target from 2 to 6 (diff) | |
| parent | IsInitialBlockDownload no longer uses header-only timestamps. (diff) | |
| download | discoin-508404de98a8a5435f52916cef8f328e82651961.tar.xz discoin-508404de98a8a5435f52916cef8f328e82651961.zip | |
Merge #9053: IBD using chainwork instead of height and not using header timestamps
e141beb IsInitialBlockDownload no longer uses header-only timestamps. (Gregory Maxwell)
2082b55 Remove GetTotalBlocksEstimate and checkpoint tests that test nothing. (Gregory Maxwell)
fd46136 IBD check uses minimumchain work instead of checkpoints. (Gregory Maxwell)
Diffstat (limited to 'src/test/Checkpoints_tests.cpp')
| -rw-r--r-- | src/test/Checkpoints_tests.cpp | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/test/Checkpoints_tests.cpp b/src/test/Checkpoints_tests.cpp deleted file mode 100644 index 1b7d368e1..000000000 --- a/src/test/Checkpoints_tests.cpp +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright (c) 2011-2015 The Bitcoin Core developers -// Distributed under the MIT software license, see the accompanying -// file COPYING or http://www.opensource.org/licenses/mit-license.php. - -// -// Unit tests for block-chain checkpoints -// - -#include "checkpoints.h" - -#include "uint256.h" -#include "test/test_bitcoin.h" -#include "chainparams.h" - -#include <boost/test/unit_test.hpp> - -using namespace std; - -BOOST_FIXTURE_TEST_SUITE(Checkpoints_tests, BasicTestingSetup) - -BOOST_AUTO_TEST_CASE(sanity) -{ - const CCheckpointData& checkpoints = Params(CBaseChainParams::MAIN).Checkpoints(); - BOOST_CHECK(Checkpoints::GetTotalBlocksEstimate(checkpoints) >= 134444); -} - -BOOST_AUTO_TEST_SUITE_END() |