Bitcoin Core 30.99.0
P2P Digital Currency
Classes | Functions | Variables
mempool_tests.cpp File Reference
#include <common/system.h>
#include <policy/policy.h>
#include <test/util/txmempool.h>
#include <txmempool.h>
#include <util/time.h>
#include <test/util/setup_common.h>
#include <boost/test/unit_test.hpp>
#include <vector>
Include dependency graph for mempool_tests.cpp:

Go to the source code of this file.

Classes

class  MemPoolTest
 

Functions

 BOOST_AUTO_TEST_CASE (MempoolRemoveTest)
 
 BOOST_AUTO_TEST_CASE (MempoolSizeLimitTest)
 
CTransactionRef make_tx (std::vector< CAmount > &&output_values, std::vector< CTransactionRef > &&inputs=std::vector< CTransactionRef >(), std::vector< uint32_t > &&input_indices=std::vector< uint32_t >())
 
 BOOST_AUTO_TEST_CASE (MempoolAncestryTests)
 
 BOOST_AUTO_TEST_CASE (MempoolAncestryTestsDiamond)
 

Variables

static constexpr auto REMOVAL_REASON_DUMMY = MemPoolRemovalReason::REPLACED
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/4]

BOOST_AUTO_TEST_CASE ( MempoolAncestryTests  )

Definition at line 297 of file mempool_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [2/4]

BOOST_AUTO_TEST_CASE ( MempoolAncestryTestsDiamond  )

Definition at line 456 of file mempool_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [3/4]

BOOST_AUTO_TEST_CASE ( MempoolRemoveTest  )

Definition at line 26 of file mempool_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [4/4]

BOOST_AUTO_TEST_CASE ( MempoolSizeLimitTest  )

Definition at line 118 of file mempool_tests.cpp.

Here is the call graph for this function:

◆ make_tx()

CTransactionRef make_tx ( std::vector< CAmount > &&  output_values,
std::vector< CTransactionRef > &&  inputs = std::vector<CTransactionRef>(),
std::vector< uint32_t > &&  input_indices = std::vector<uint32_t>() 
)
inline

Definition at line 280 of file mempool_tests.cpp.

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

Variable Documentation

◆ REMOVAL_REASON_DUMMY

constexpr auto REMOVAL_REASON_DUMMY = MemPoolRemovalReason::REPLACED
staticconstexpr

Definition at line 18 of file mempool_tests.cpp.