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 <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.

Functions

CTransactionRef create_placeholder_tx (size_t num_inputs, size_t num_outputs)
 
Wtxid WtxidFromString (std::string_view str)
 
 BOOST_FIXTURE_TEST_CASE (package_hash_tests, TestChain100Setup)
 
 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)
 
 BOOST_FIXTURE_TEST_CASE (package_rbf_tests, TestChain100Setup)
 

Variables

static const CAmount low_fee_amt {200}
 

Function Documentation

◆ BOOST_FIXTURE_TEST_CASE() [1/8]

BOOST_FIXTURE_TEST_CASE ( noncontextual_package_tests  ,
TestChain100Setup   
)

Definition at line 259 of file txpackage_tests.cpp.

Here is the call graph for this function:

◆ BOOST_FIXTURE_TEST_CASE() [2/8]

BOOST_FIXTURE_TEST_CASE ( package_cpfp_tests  ,
TestChain100Setup   
)

Definition at line 732 of file txpackage_tests.cpp.

Here is the call graph for this function:

◆ BOOST_FIXTURE_TEST_CASE() [3/8]

BOOST_FIXTURE_TEST_CASE ( package_hash_tests  ,
TestChain100Setup   
)

Definition at line 53 of file txpackage_tests.cpp.

Here is the call graph for this function:

◆ BOOST_FIXTURE_TEST_CASE() [4/8]

BOOST_FIXTURE_TEST_CASE ( package_rbf_tests  ,
TestChain100Setup   
)

Definition at line 943 of file txpackage_tests.cpp.

Here is the call graph for this function:

◆ BOOST_FIXTURE_TEST_CASE() [5/8]

BOOST_FIXTURE_TEST_CASE ( package_sanitization_tests  ,
TestChain100Setup   
)

Definition at line 134 of file txpackage_tests.cpp.

Here is the call graph for this function:

◆ BOOST_FIXTURE_TEST_CASE() [6/8]

BOOST_FIXTURE_TEST_CASE ( package_submission_tests  ,
TestChain100Setup   
)

Definition at line 355 of file txpackage_tests.cpp.

Here is the call graph for this function:

◆ BOOST_FIXTURE_TEST_CASE() [7/8]

BOOST_FIXTURE_TEST_CASE ( package_validation_tests  ,
TestChain100Setup   
)

Definition at line 204 of file txpackage_tests.cpp.

Here is the call graph for this function:

◆ BOOST_FIXTURE_TEST_CASE() [8/8]

BOOST_FIXTURE_TEST_CASE ( package_witness_swap_tests  ,
TestChain100Setup   
)

Definition at line 498 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 29 of file txpackage_tests.cpp.

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

◆ WtxidFromString()

Wtxid WtxidFromString ( std::string_view  str)
inline

Definition at line 48 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 26 of file txpackage_tests.cpp.