Bitcoin Core 28.99.0
P2P Digital Currency
|
#include <arith_uint256.h>
#include <consensus/validation.h>
#include <policy/policy.h>
#include <primitives/transaction.h>
#include <pubkey.h>
#include <script/sign.h>
#include <script/signingprovider.h>
#include <test/util/random.h>
#include <test/util/setup_common.h>
#include <test/util/transaction_utils.h>
#include <txorphanage.h>
#include <array>
#include <cstdint>
#include <boost/test/unit_test.hpp>
Go to the source code of this file.
Classes | |
class | TxOrphanageTest |
Functions | |
static void | MakeNewKeyWithFastRandomContext (CKey &key, FastRandomContext &rand_ctx) |
static CTransactionRef | MakeTransactionSpending (const std::vector< COutPoint > &outpoints, FastRandomContext &det_rand) |
static CTransactionRef | MakeMutation (const CTransactionRef &ptx) |
static bool | EqualTxns (const std::set< CTransactionRef > &set_txns, const std::vector< CTransactionRef > &vec_txns) |
BOOST_AUTO_TEST_CASE (DoS_mapOrphans) | |
BOOST_AUTO_TEST_CASE (same_txid_diff_witness) | |
BOOST_AUTO_TEST_CASE (get_children) | |
BOOST_AUTO_TEST_CASE (too_large_orphan_tx) | |
BOOST_AUTO_TEST_CASE (process_block) | |
BOOST_AUTO_TEST_CASE (multiple_announcers) | |
BOOST_AUTO_TEST_CASE (peer_worksets) | |
BOOST_AUTO_TEST_CASE | ( | DoS_mapOrphans | ) |
BOOST_AUTO_TEST_CASE | ( | get_children | ) |
BOOST_AUTO_TEST_CASE | ( | multiple_announcers | ) |
BOOST_AUTO_TEST_CASE | ( | peer_worksets | ) |
BOOST_AUTO_TEST_CASE | ( | process_block | ) |
BOOST_AUTO_TEST_CASE | ( | same_txid_diff_witness | ) |
BOOST_AUTO_TEST_CASE | ( | too_large_orphan_tx | ) |
|
static |
|
static |
Definition at line 79 of file orphanage_tests.cpp.
|
static |
Definition at line 46 of file orphanage_tests.cpp.
|
static |
Definition at line 55 of file orphanage_tests.cpp.