Changeset View
Changeset View
Standalone View
Standalone View
src/test/activation_tests.cpp
// Copyright (c) 2019 The Bitcoin developers | // Copyright (c) 2019 The Bitcoin developers | ||||
// Distributed under the MIT software license, see the accompanying | // Distributed under the MIT software license, see the accompanying | ||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php. | // file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
#include "chain.h" | #include <chain.h> | ||||
#include "chainparams.h" | #include <chainparams.h> | ||||
#include "config.h" | #include <config.h> | ||||
#include "consensus/activation.h" | #include <consensus/activation.h> | ||||
#include "test/test_bitcoin.h" | |||||
#include <test/test_bitcoin.h> | |||||
#include <boost/test/unit_test.hpp> | #include <boost/test/unit_test.hpp> | ||||
BOOST_FIXTURE_TEST_SUITE(activation_tests, BasicTestingSetup) | BOOST_FIXTURE_TEST_SUITE(activation_tests, BasicTestingSetup) | ||||
static void SetMTP(std::array<CBlockIndex, 12> &blocks, int64_t mtp) { | static void SetMTP(std::array<CBlockIndex, 12> &blocks, int64_t mtp) { | ||||
size_t len = blocks.size(); | size_t len = blocks.size(); | ||||
Show All 32 Lines |