Bitcoin Core 31.99.0
P2P Digital Currency
Functions
mempool_fee_estimator_tests.cpp File Reference
#include <kernel/mempool_entry.h>
#include <policy/fees/estimator_args.h>
#include <policy/fees/mempool_estimator.h>
#include <policy/policy.h>
#include <primitives/block.h>
#include <random.h>
#include <test/util/setup_common.h>
#include <test/util/txmempool.h>
#include <txmempool.h>
#include <uint256.h>
#include <util/feefrac.h>
#include <util/fees.h>
#include <util/time.h>
#include <validation.h>
#include <boost/test/unit_test.hpp>
#include <string>
Include dependency graph for mempool_fee_estimator_tests.cpp:

Go to the source code of this file.

Functions

static CTransactionRef MakeRandomTx ()
 
void AddRemovedBlock (MemPoolFeeRateEstimator &fee_est, int32_t removed_txs_weight, int32_t block_txs_weight, unsigned int &height)
 
 BOOST_AUTO_TEST_CASE (calculate_max_weight_percentiles)
 
 BOOST_AUTO_TEST_CASE (mempool_fee_rate_estimator_cache)
 
 BOOST_AUTO_TEST_CASE (MempoolFeeRateEstimator)
 

Function Documentation

◆ AddRemovedBlock()

void AddRemovedBlock ( MemPoolFeeRateEstimator fee_est,
int32_t  removed_txs_weight,
int32_t  block_txs_weight,
unsigned int &  height 
)

Definition at line 40 of file mempool_fee_estimator_tests.cpp.

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

◆ BOOST_AUTO_TEST_CASE() [1/3]

BOOST_AUTO_TEST_CASE ( calculate_max_weight_percentiles  )

Definition at line 65 of file mempool_fee_estimator_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [2/3]

BOOST_AUTO_TEST_CASE ( mempool_fee_rate_estimator_cache  )

Definition at line 106 of file mempool_fee_estimator_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [3/3]

BOOST_AUTO_TEST_CASE ( MempoolFeeRateEstimator  )

Definition at line 131 of file mempool_fee_estimator_tests.cpp.

Here is the call graph for this function:

◆ MakeRandomTx()

static CTransactionRef MakeRandomTx ( )
inlinestatic

Definition at line 26 of file mempool_fee_estimator_tests.cpp.

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