Bitcoin Core  22.99.0
P2P Digital Currency
Functions
txvalidation_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 <script/standard.h>
#include <test/util/setup_common.h>
#include <validation.h>
#include <boost/test/unit_test.hpp>
Include dependency graph for txvalidation_tests.cpp:

Go to the source code of this file.

Functions

 BOOST_FIXTURE_TEST_CASE (tx_mempool_reject_coinbase, TestChain100Setup)
 Ensure that the mempool won't accept coinbase transactions. More...
 
CTransactionRef create_placeholder_tx (size_t num_inputs, size_t num_outputs)
 
 BOOST_FIXTURE_TEST_CASE (package_tests, TestChain100Setup)
 

Function Documentation

◆ BOOST_FIXTURE_TEST_CASE() [1/2]

BOOST_FIXTURE_TEST_CASE ( package_tests  ,
TestChain100Setup   
)

Definition at line 73 of file txvalidation_tests.cpp.

Here is the call graph for this function:

◆ BOOST_FIXTURE_TEST_CASE() [2/2]

BOOST_FIXTURE_TEST_CASE ( tx_mempool_reject_coinbase  ,
TestChain100Setup   
)

Ensure that the mempool won't accept coinbase transactions.

Definition at line 23 of file txvalidation_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 55 of file txvalidation_tests.cpp.

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