Bitcoin Core  22.99.0
P2P Digital Currency
Functions
validation_flush_tests.cpp File Reference
#include <sync.h>
#include <test/util/setup_common.h>
#include <txmempool.h>
#include <validation.h>
#include <boost/test/unit_test.hpp>
Include dependency graph for validation_flush_tests.cpp:

Go to the source code of this file.

Functions

 BOOST_AUTO_TEST_CASE (getcoinscachesizestate)
 Test utilities for detecting when we need to flush the coins cache based on estimated memory usage. More...
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE()

BOOST_AUTO_TEST_CASE ( getcoinscachesizestate  )

Test utilities for detecting when we need to flush the coins cache based on estimated memory usage.

See also
CChainState::GetCoinsCacheSizeState()

Create and add a Coin with DynamicMemoryUsage of 80 bytes to the given view.

Definition at line 19 of file validation_flush_tests.cpp.