Changeset View
Changeset View
Standalone View
Standalone View
src/test/txindex_tests.cpp
// Copyright (c) 2017-2018 The Bitcoin Core developers | // Copyright (c) 2017-2018 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 <index/txindex.h> | #include <index/txindex.h> | ||||
#include <chainparams.h> | #include <chainparams.h> | ||||
#include <script/standard.h> | #include <script/standard.h> | ||||
#include <util/system.h> | #include <util/system.h> | ||||
#include <util/time.h> | #include <util/time.h> | ||||
#include <validation.h> | #include <validation.h> | ||||
#include <test/test_bitcoin.h> | #include <test/setup_common.h> | ||||
#include <boost/test/unit_test.hpp> | #include <boost/test/unit_test.hpp> | ||||
BOOST_AUTO_TEST_SUITE(txindex_tests) | BOOST_AUTO_TEST_SUITE(txindex_tests) | ||||
BOOST_FIXTURE_TEST_CASE(txindex_initial_sync, TestChain100Setup) { | BOOST_FIXTURE_TEST_CASE(txindex_initial_sync, TestChain100Setup) { | ||||
TxIndex txindex(1 << 20, true); | TxIndex txindex(1 << 20, true); | ||||
▲ Show 20 Lines • Show All 64 Lines • Show Last 20 Lines |