Bitcoin Core  27.99.0
P2P Digital Currency
Classes | Functions
blockfilter_index_tests.cpp File Reference
#include <addresstype.h>
#include <blockfilter.h>
#include <chainparams.h>
#include <consensus/merkle.h>
#include <consensus/validation.h>
#include <index/blockfilterindex.h>
#include <interfaces/chain.h>
#include <node/miner.h>
#include <pow.h>
#include <test/util/blockfilter.h>
#include <test/util/index.h>
#include <test/util/setup_common.h>
#include <validation.h>
#include <boost/test/unit_test.hpp>
Include dependency graph for blockfilter_index_tests.cpp:

Go to the source code of this file.

Classes

struct  BuildChainTestingSetup
 

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)
 

Function Documentation

◆ BOOST_FIXTURE_TEST_CASE() [1/2]

BOOST_FIXTURE_TEST_CASE ( blockfilter_index_init_destroy  ,
BasicTestingSetup   
)

Definition at line 272 of file blockfilter_index_tests.cpp.

Here is the call graph for this function:

◆ BOOST_FIXTURE_TEST_CASE() [2/2]

BOOST_FIXTURE_TEST_CASE ( blockfilter_index_initial_sync  ,
BuildChainTestingSetup   
)

Definition at line 113 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 32 of file blockfilter_index_tests.cpp.

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