Bitcoin Core 28.99.0
P2P Digital Currency
Functions
validation_chainstate_tests.cpp File Reference
#include <chainparams.h>
#include <consensus/validation.h>
#include <node/kernel_notifications.h>
#include <random.h>
#include <rpc/blockchain.h>
#include <sync.h>
#include <test/util/chainstate.h>
#include <test/util/coins.h>
#include <test/util/random.h>
#include <test/util/setup_common.h>
#include <uint256.h>
#include <util/check.h>
#include <validation.h>
#include <vector>
#include <boost/test/unit_test.hpp>
Include dependency graph for validation_chainstate_tests.cpp:

Go to the source code of this file.

Functions

 BOOST_AUTO_TEST_CASE (validation_chainstate_resize_caches)
 Test resizing coins-related Chainstate caches during runtime. More...
 
 BOOST_FIXTURE_TEST_CASE (chainstate_update_tip, TestChain100Setup)
 Test UpdateTip behavior for both active and background chainstates. More...
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE()

BOOST_AUTO_TEST_CASE ( validation_chainstate_resize_caches  )

Test resizing coins-related Chainstate caches during runtime.

Definition at line 27 of file validation_chainstate_tests.cpp.

Here is the call graph for this function:

◆ BOOST_FIXTURE_TEST_CASE()

BOOST_FIXTURE_TEST_CASE ( chainstate_update_tip  ,
TestChain100Setup   
)

Test UpdateTip behavior for both active and background chainstates.

When run on the background chainstate, UpdateTip should do a subset of what it does for the active chainstate.

Definition at line 70 of file validation_chainstate_tests.cpp.

Here is the call graph for this function: