Bitcoin Core 32.1.0
P2P Digital Currency
Loading...
Searching...
No Matches
txindex_tests.cpp File Reference
#include <addresstype.h>
#include <chain.h>
#include <chainparams.h>
#include <common/args.h>
#include <consensus/amount.h>
#include <consensus/validation.h>
#include <crypto/hex_base.h>
#include <dbwrapper.h>
#include <flatfile.h>
#include <index/disktxpos.h>
#include <index/txindex.h>
#include <index/txindex_key.h>
#include <interfaces/chain.h>
#include <key.h>
#include <node/blockstorage.h>
#include <primitives/block.h>
#include <script/script.h>
#include <streams.h>
#include <sync.h>
#include <test/util/setup_common.h>
#include <util/byte_units.h>
#include <util/check.h>
#include <util/strencodings.h>
#include <validation.h>
#include <cstdint>
#include <memory>
#include <string>
#include <string_view>
#include <utility>
#include <vector>
#include <boost/test/unit_test.hpp>
Include dependency graph for txindex_tests.cpp:

Go to the source code of this file.

Classes

class  TxIndexTest

Functions

 BOOST_AUTO_TEST_CASE (txindex_position_encoding)
 BOOST_AUTO_TEST_CASE (txindex_hash_prefix)
 BOOST_FIXTURE_TEST_CASE (txindex_initial_sync, TestChain100Setup)
 BOOST_FIXTURE_TEST_CASE (txindex_collision_scan_path, TestChain100Setup)
 BOOST_FIXTURE_TEST_CASE (txindex_legacy_fallback, TestChain100Setup)
 BOOST_FIXTURE_TEST_CASE (txindex_locator_upgrade, TestChain100Setup)
 BOOST_FIXTURE_TEST_CASE (txindex_reorg_keeps_stale_entries, TestChain100Setup)

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/2]

BOOST_AUTO_TEST_CASE ( txindex_hash_prefix )

Definition at line 127 of file txindex_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [2/2]

BOOST_AUTO_TEST_CASE ( txindex_position_encoding )

Definition at line 102 of file txindex_tests.cpp.

Here is the call graph for this function:

◆ BOOST_FIXTURE_TEST_CASE() [1/5]

BOOST_FIXTURE_TEST_CASE ( txindex_collision_scan_path ,
TestChain100Setup  )

Definition at line 177 of file txindex_tests.cpp.

Here is the call graph for this function:

◆ BOOST_FIXTURE_TEST_CASE() [2/5]

BOOST_FIXTURE_TEST_CASE ( txindex_initial_sync ,
TestChain100Setup  )

Definition at line 136 of file txindex_tests.cpp.

Here is the call graph for this function:

◆ BOOST_FIXTURE_TEST_CASE() [3/5]

BOOST_FIXTURE_TEST_CASE ( txindex_legacy_fallback ,
TestChain100Setup  )

Definition at line 229 of file txindex_tests.cpp.

Here is the call graph for this function:

◆ BOOST_FIXTURE_TEST_CASE() [4/5]

BOOST_FIXTURE_TEST_CASE ( txindex_locator_upgrade ,
TestChain100Setup  )

Definition at line 259 of file txindex_tests.cpp.

Here is the call graph for this function:

◆ BOOST_FIXTURE_TEST_CASE() [5/5]

BOOST_FIXTURE_TEST_CASE ( txindex_reorg_keeps_stale_entries ,
TestChain100Setup  )

Definition at line 281 of file txindex_tests.cpp.

Here is the call graph for this function: