Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
validation_flush_tests.cpp File Reference
#include <sync.h>
#include <test/util/coins.h>
#include <test/util/random.h>
#include <test/util/common.h>
#include <test/util/setup_common.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)

Function Documentation

◆ BOOST_AUTO_TEST_CASE()

BOOST_AUTO_TEST_CASE ( getcoinscachesizestate )

Verify that Chainstate::GetCoinsCacheSizeState() switches from OK→LARGE→CRITICAL at the expected utilization thresholds, first with no mempool head-room, then with additional mempool head-room.

Definition at line 19 of file validation_flush_tests.cpp.

Here is the call graph for this function: