index: Add chainstate member to BaseIndex

This commit is contained in:
Carl Dong
2020-10-14 16:48:17 -04:00
parent f4a47a1feb
commit db33cde80f
8 changed files with 32 additions and 26 deletions

View File

@@ -32,7 +32,7 @@ BOOST_FIXTURE_TEST_CASE(coinstatsindex_initial_sync, TestChain100Setup)
// is started.
BOOST_CHECK(!coin_stats_index.BlockUntilSyncedToCurrentChain());
BOOST_REQUIRE(coin_stats_index.Start());
BOOST_REQUIRE(coin_stats_index.Start(::ChainstateActive()));
// Allow the CoinStatsIndex to catch up with the block index that is syncing
// in a background thread.