forked from hush/hush3
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
792 B
30 lines
792 B
// Copyright (c) 2011-2013 The Bitcoin Core developers
|
|
// Copyright (c) 2016-2020 The Hush developers
|
|
// Distributed under the GPLv3 software license, see the accompanying
|
|
// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
|
|
|
|
//
|
|
// 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)
|
|
|
|
// TODO: checkpoints have been removed for now.
|
|
/*
|
|
BOOST_AUTO_TEST_CASE(sanity)
|
|
{
|
|
const CCheckpointData& checkpoints = Params(CBaseChainParams::MAIN).Checkpoints();
|
|
BOOST_CHECK(Checkpoints::GetTotalBlocksEstimate(checkpoints) >= 134444);
|
|
}
|
|
*/
|
|
BOOST_AUTO_TEST_SUITE_END()
|
|
|