Changeset View
Changeset View
Standalone View
Standalone View
src/test/blockencodings_tests.cpp
// Copyright (c) 2011-2016 The Bitcoin Core developers | // Copyright (c) 2011-2016 The Bitcoin Core 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 "blockencodings.h" | #include <blockencodings.h> | ||||
#include "chainparams.h" | |||||
#include "config.h" | |||||
#include "consensus/merkle.h" | |||||
#include "random.h" | |||||
#include "test/test_bitcoin.h" | #include <chainparams.h> | ||||
#include <config.h> | |||||
#include <consensus/merkle.h> | |||||
#include <random.h> | |||||
#include <test/test_bitcoin.h> | |||||
#include <boost/test/unit_test.hpp> | #include <boost/test/unit_test.hpp> | ||||
std::vector<std::pair<uint256, CTransactionRef>> extra_txn; | std::vector<std::pair<uint256, CTransactionRef>> extra_txn; | ||||
struct RegtestingSetup : public TestingSetup { | struct RegtestingSetup : public TestingSetup { | ||||
RegtestingSetup() : TestingSetup(CBaseChainParams::REGTEST) {} | RegtestingSetup() : TestingSetup(CBaseChainParams::REGTEST) {} | ||||
}; | }; | ||||
▲ Show 20 Lines • Show All 372 Lines • Show Last 20 Lines |