![]() |
Bitcoin Core
24.99.0
P2P Digital Currency
|
#include <chainparams.h>
#include <consensus/validation.h>
#include <random.h>
#include <rpc/blockchain.h>
#include <sync.h>
#include <test/util/chainstate.h>
#include <test/util/setup_common.h>
#include <uint256.h>
#include <validation.h>
#include <vector>
#include <boost/test/unit_test.hpp>
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... | |
BOOST_AUTO_TEST_CASE | ( | validation_chainstate_resize_caches | ) |
Test resizing coins-related Chainstate caches during runtime.
Create and add a Coin with DynamicMemoryUsage of 80 bytes to the given view.
Definition at line 23 of file validation_chainstate_tests.cpp.
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 80 of file validation_chainstate_tests.cpp.