Bitcoin Core 28.99.0
P2P Digital Currency
Classes | Functions | Variables
txpackage_tests.cpp File Reference
#include <consensus/validation.h>
#include <key_io.h>
#include <policy/packages.h>
#include <policy/policy.h>
#include <policy/rbf.h>
#include <primitives/transaction.h>
#include <script/script.h>
#include <serialize.h>
#include <streams.h>
#include <test/util/random.h>
#include <test/util/script.h>
#include <test/util/setup_common.h>
#include <util/strencodings.h>
#include <test/util/txmempool.h>
#include <validation.h>
#include <boost/test/unit_test.hpp>
Include dependency graph for txpackage_tests.cpp:

Go to the source code of this file.

Classes

struct  TxPackageTest
 

Functions

 BOOST_AUTO_TEST_CASE (package_hash_tests)
 
 BOOST_AUTO_TEST_CASE (package_sanitization_tests)
 
 BOOST_AUTO_TEST_CASE (package_validation_tests)
 
 BOOST_AUTO_TEST_CASE (noncontextual_package_tests)
 
 BOOST_AUTO_TEST_CASE (package_submission_tests)
 
 BOOST_AUTO_TEST_CASE (package_single_tx)
 
 BOOST_AUTO_TEST_CASE (package_witness_swap_tests)
 
 BOOST_AUTO_TEST_CASE (package_cpfp_tests)
 
 BOOST_AUTO_TEST_CASE (package_rbf_tests)
 

Variables

static const CAmount low_fee_amt {200}
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/9]

BOOST_AUTO_TEST_CASE ( noncontextual_package_tests  )

Definition at line 258 of file txpackage_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [2/9]

BOOST_AUTO_TEST_CASE ( package_cpfp_tests  )

Definition at line 824 of file txpackage_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [3/9]

BOOST_AUTO_TEST_CASE ( package_hash_tests  )

Definition at line 52 of file txpackage_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [4/9]

BOOST_AUTO_TEST_CASE ( package_rbf_tests  )

Definition at line 1035 of file txpackage_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [5/9]

BOOST_AUTO_TEST_CASE ( package_sanitization_tests  )

Definition at line 133 of file txpackage_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [6/9]

BOOST_AUTO_TEST_CASE ( package_single_tx  )

Definition at line 498 of file txpackage_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [7/9]

BOOST_AUTO_TEST_CASE ( package_submission_tests  )

Definition at line 356 of file txpackage_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [8/9]

BOOST_AUTO_TEST_CASE ( package_validation_tests  )

Definition at line 203 of file txpackage_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [9/9]

BOOST_AUTO_TEST_CASE ( package_witness_swap_tests  )

Definition at line 590 of file txpackage_tests.cpp.

Here is the call graph for this function:

Variable Documentation

◆ low_fee_amt

const CAmount low_fee_amt {200}
static

Definition at line 27 of file txpackage_tests.cpp.