![]() |
Bitcoin Core
26.1.0
P2P Digital Currency
|
#include <node/mini_miner.h>#include <random.h>#include <txmempool.h>#include <util/time.h>#include <test/util/setup_common.h>#include <test/util/txmempool.h>#include <boost/test/unit_test.hpp>#include <optional>#include <vector>Go to the source code of this file.
Functions | |
| static CTransactionRef | make_tx (const std::vector< COutPoint > &inputs, size_t num_outputs) |
| static bool | sanity_check (const std::vector< CTransactionRef > &transactions, const std::map< COutPoint, CAmount > &bumpfees) |
| template<typename Key , typename Value > | |
| Value | Find (const std::map< Key, Value > &map, const Key &key) |
| BOOST_FIXTURE_TEST_CASE (miniminer_1p1c, TestChain100Setup) | |
| BOOST_FIXTURE_TEST_CASE (miniminer_overlap, TestChain100Setup) | |
| BOOST_FIXTURE_TEST_CASE (calculate_cluster, TestChain100Setup) | |
| BOOST_FIXTURE_TEST_CASE | ( | miniminer_1p1c | , |
| TestChain100Setup | |||
| ) |
| BOOST_FIXTURE_TEST_CASE | ( | miniminer_overlap | , |
| TestChain100Setup | |||
| ) |
| BOOST_FIXTURE_TEST_CASE | ( | calculate_cluster | , |
| TestChain100Setup | |||
| ) |
| Value Find | ( | const std::map< Key, Value > & | map, |
| const Key & | key | ||
| ) |
|
inlinestatic |
Definition at line 18 of file miniminer_tests.cpp.
|
inlinestatic |
Definition at line 35 of file miniminer_tests.cpp.
1.8.14