Bitcoin Core  27.99.0
P2P Digital Currency
Functions | Variables
txpackage_tests.cpp File Reference
#include <consensus/validation.h>
#include <key_io.h>
#include <policy/packages.h>
#include <policy/policy.h>
#include <primitives/transaction.h>
#include <script/script.h>
#include <test/util/random.h>
#include <test/util/script.h>
#include <test/util/setup_common.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.

Functions

CTransactionRef create_placeholder_tx (size_t num_inputs, size_t num_outputs)
 
 BOOST_FIXTURE_TEST_CASE (package_sanitization_tests, TestChain100Setup)
 
 BOOST_FIXTURE_TEST_CASE (package_validation_tests, TestChain100Setup)
 
 BOOST_FIXTURE_TEST_CASE (noncontextual_package_tests, TestChain100Setup)
 
 BOOST_FIXTURE_TEST_CASE (package_submission_tests, TestChain100Setup)
 
 BOOST_FIXTURE_TEST_CASE (package_witness_swap_tests, TestChain100Setup)
 
 BOOST_FIXTURE_TEST_CASE (package_cpfp_tests, TestChain100Setup)
 

Variables

static const CAmount low_fee_amt {200}
 

Function Documentation

◆ BOOST_FIXTURE_TEST_CASE() [1/6]

BOOST_FIXTURE_TEST_CASE ( noncontextual_package_tests  ,
TestChain100Setup   
)

Definition at line 168 of file txpackage_tests.cpp.

Here is the call graph for this function:

◆ BOOST_FIXTURE_TEST_CASE() [2/6]

BOOST_FIXTURE_TEST_CASE ( package_cpfp_tests  ,
TestChain100Setup   
)

Definition at line 635 of file txpackage_tests.cpp.

Here is the call graph for this function:

◆ BOOST_FIXTURE_TEST_CASE() [3/6]

BOOST_FIXTURE_TEST_CASE ( package_sanitization_tests  ,
TestChain100Setup   
)

Definition at line 43 of file txpackage_tests.cpp.

Here is the call graph for this function:

◆ BOOST_FIXTURE_TEST_CASE() [4/6]

BOOST_FIXTURE_TEST_CASE ( package_submission_tests  ,
TestChain100Setup   
)

Definition at line 261 of file txpackage_tests.cpp.

Here is the call graph for this function:

◆ BOOST_FIXTURE_TEST_CASE() [5/6]

BOOST_FIXTURE_TEST_CASE ( package_validation_tests  ,
TestChain100Setup   
)

Definition at line 113 of file txpackage_tests.cpp.

Here is the call graph for this function:

◆ BOOST_FIXTURE_TEST_CASE() [6/6]

BOOST_FIXTURE_TEST_CASE ( package_witness_swap_tests  ,
TestChain100Setup   
)

Definition at line 404 of file txpackage_tests.cpp.

Here is the call graph for this function:

◆ create_placeholder_tx()

CTransactionRef create_placeholder_tx ( size_t  num_inputs,
size_t  num_outputs 
)
inline

Definition at line 25 of file txpackage_tests.cpp.

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

Variable Documentation

◆ low_fee_amt

const CAmount low_fee_amt {200}
static

Definition at line 22 of file txpackage_tests.cpp.