Bitcoin Core 31.99.0
P2P Digital Currency
Classes | Functions
blockfilter_index_tests.cpp File Reference
#include <addresstype.h>
#include <blockfilter.h>
#include <chain.h>
#include <consensus/merkle.h>
#include <consensus/validation.h>
#include <index/base.h>
#include <index/blockfilterindex.h>
#include <interfaces/chain.h>
#include <interfaces/mining.h>
#include <key.h>
#include <node/blockstorage.h>
#include <pow.h>
#include <primitives/block.h>
#include <primitives/transaction.h>
#include <script/script.h>
#include <sync.h>
#include <test/util/blockfilter.h>
#include <test/util/common.h>
#include <test/util/setup_common.h>
#include <tinyformat.h>
#include <uint256.h>
#include <util/check.h>
#include <util/fs.h>
#include <util/time.h>
#include <validation.h>
#include <boost/test/unit_test.hpp>
#include <compare>
#include <cstddef>
#include <cstdint>
#include <functional>
#include <future>
#include <memory>
#include <span>
#include <string>
#include <thread>
#include <utility>
#include <vector>
Include dependency graph for blockfilter_index_tests.cpp:

Go to the source code of this file.

Classes

struct  BuildChainTestingSetup
 
class  IndexReorgCrash
 

Functions

static bool CheckFilterLookups (BlockFilterIndex &filter_index, const CBlockIndex *block_index, uint256 &last_header, const BlockManager &blockman)
 
 BOOST_FIXTURE_TEST_CASE (blockfilter_index_initial_sync, BuildChainTestingSetup)
 
 BOOST_FIXTURE_TEST_CASE (blockfilter_index_init_destroy, BasicTestingSetup)
 
 BOOST_FIXTURE_TEST_CASE (index_reorg_crash, BuildChainTestingSetup)
 

Function Documentation

◆ BOOST_FIXTURE_TEST_CASE() [1/3]

BOOST_FIXTURE_TEST_CASE ( blockfilter_index_init_destroy  ,
BasicTestingSetup   
)

Definition at line 295 of file blockfilter_index_tests.cpp.

Here is the call graph for this function:

◆ BOOST_FIXTURE_TEST_CASE() [2/3]

BOOST_FIXTURE_TEST_CASE ( blockfilter_index_initial_sync  ,
BuildChainTestingSetup   
)

Definition at line 139 of file blockfilter_index_tests.cpp.

Here is the call graph for this function:

◆ BOOST_FIXTURE_TEST_CASE() [3/3]

BOOST_FIXTURE_TEST_CASE ( index_reorg_crash  ,
BuildChainTestingSetup   
)

Definition at line 366 of file blockfilter_index_tests.cpp.

Here is the call graph for this function:

◆ CheckFilterLookups()

static bool CheckFilterLookups ( BlockFilterIndex filter_index,
const CBlockIndex block_index,
uint256 last_header,
const BlockManager blockman 
)
static

Definition at line 54 of file blockfilter_index_tests.cpp.

Here is the call graph for this function:
Here is the caller graph for this function: