Bitcoin Core  24.99.0
P2P Digital Currency
Functions
rbf_tests.cpp File Reference
#include <policy/rbf.h>
#include <random.h>
#include <txmempool.h>
#include <util/system.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 void add_descendants (const CTransactionRef &tx, int32_t num_descendants, CTxMemPool &pool) EXCLUSIVE_LOCKS_REQUIRED(
 
 BOOST_FIXTURE_TEST_CASE (rbf_helper_functions, TestChain100Setup)
 

Function Documentation

◆ add_descendants()

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

Definition at line 39 of file rbf_tests.cpp.

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

◆ BOOST_FIXTURE_TEST_CASE()

BOOST_FIXTURE_TEST_CASE ( rbf_helper_functions  ,
TestChain100Setup   
)

Definition at line 54 of file rbf_tests.cpp.

Here is the call graph for this function:

◆ make_tx()

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

Definition at line 18 of file rbf_tests.cpp.

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