|
10 | 10 | #include <rpc/blockchain.h> |
11 | 11 | #include <sync.h> |
12 | 12 | #include <test/util/chainstate.h> |
13 | | -#include <test/util/index.h> |
14 | 13 | #include <test/util/random.h> |
15 | 14 | #include <test/util/setup_common.h> |
16 | 15 | #include <timedata.h> |
@@ -759,9 +758,6 @@ BOOST_FIXTURE_TEST_CASE(chainstatemanager_evodb_snapshot_only_flush_restart, Sna |
759 | 758 |
|
760 | 759 | ChainstateManager& restarted = this->SimulateNodeRestart(/*flush_chainstates=*/false); |
761 | 760 | this->LoadVerifyActivateChainstate(); |
762 | | - g_txindex = std::make_unique<TxIndex>(1 << 20, /*memory=*/true); |
763 | | - BOOST_REQUIRE(g_txindex->Start(restarted.ActiveChainstate())); |
764 | | - IndexWaitSynced(*g_txindex); |
765 | 761 |
|
766 | 762 | BOOST_CHECK(m_node.evodb->VerifyBestBlock(EvoDbIdentity::SNAPSHOT, snapshot_marker)); |
767 | 763 | BOOST_CHECK(m_node.evodb->VerifyBestBlock(EvoDbIdentity::NORMAL, normal_marker)); |
@@ -808,9 +804,6 @@ BOOST_FIXTURE_TEST_CASE(chainstatemanager_snapshot_init_missing_evodb_marker, Sn |
808 | 804 | WITH_LOCK(::cs_main, restarted.ResetChainstates()); |
809 | 805 | fs::remove_all(gArgs.GetDataDirNet() / "chainstate_snapshot"); |
810 | 806 | this->LoadVerifyActivateChainstate(); |
811 | | - g_txindex = std::make_unique<TxIndex>(1 << 20, /*memory=*/true); |
812 | | - BOOST_REQUIRE(g_txindex->Start(restarted.ActiveChainstate())); |
813 | | - IndexWaitSynced(*g_txindex); |
814 | 807 | } |
815 | 808 |
|
816 | 809 | BOOST_AUTO_TEST_SUITE_END() |
0 commit comments