Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
rbf_tests.cpp File Reference
#include <common/system.h>
#include <policy/rbf.h>
#include <random.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 <optional>
#include <vector>
Include dependency graph for rbf_tests.cpp:

Go to the source code of this file.

Functions

static CTransactionRef make_tx (const std::vector< CTransactionRef > &inputs, const std::vector< CAmount > &output_values)
static CTransactionRef add_descendants (const CTransactionRef &tx, int32_t num_descendants, CTxMemPool &pool) EXCLUSIVE_LOCKS_REQUIRED(
 BOOST_FIXTURE_TEST_CASE (rbf_helper_functions, TestChain100Setup)
 BOOST_FIXTURE_TEST_CASE (rbf_conflicts_calculator, TestChain100Setup)
 BOOST_FIXTURE_TEST_CASE (improves_feerate, TestChain100Setup)
 BOOST_FIXTURE_TEST_CASE (calc_feerate_diagram_rbf, TestChain100Setup)
 BOOST_AUTO_TEST_CASE (feerate_chunks_utilities)

Function Documentation

◆ add_descendants()

CTransactionRef add_descendants ( const CTransactionRef & tx,
int32_t num_descendants,
CTxMemPool & pool )
static

Definition at line 40 of file rbf_tests.cpp.

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

◆ BOOST_AUTO_TEST_CASE()

BOOST_AUTO_TEST_CASE ( feerate_chunks_utilities )

Definition at line 486 of file rbf_tests.cpp.

Here is the call graph for this function:

◆ BOOST_FIXTURE_TEST_CASE() [1/4]

BOOST_FIXTURE_TEST_CASE ( calc_feerate_diagram_rbf ,
TestChain100Setup  )

Definition at line 339 of file rbf_tests.cpp.

Here is the call graph for this function:

◆ BOOST_FIXTURE_TEST_CASE() [2/4]

BOOST_FIXTURE_TEST_CASE ( improves_feerate ,
TestChain100Setup  )

Definition at line 249 of file rbf_tests.cpp.

Here is the call graph for this function:

◆ BOOST_FIXTURE_TEST_CASE() [3/4]

BOOST_FIXTURE_TEST_CASE ( rbf_conflicts_calculator ,
TestChain100Setup  )

Definition at line 164 of file rbf_tests.cpp.

Here is the call graph for this function:

◆ BOOST_FIXTURE_TEST_CASE() [4/4]

BOOST_FIXTURE_TEST_CASE ( rbf_helper_functions ,
TestChain100Setup  )

Definition at line 58 of file rbf_tests.cpp.

Here is the call graph for this function:

◆ make_tx()

CTransactionRef make_tx ( const std::vector< CTransactionRef > & inputs,
const std::vector< CAmount > & output_values )
inlinestatic

Definition at line 19 of file rbf_tests.cpp.

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