Bitcoin Core
27.99.0
P2P Digital Currency
|
#include <arith_uint256.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 <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=g_insecure_rand_ctx) |
static CTransactionRef | MakeTransactionSpending (const std::vector< COutPoint > &outpoints, FastRandomContext &det_rand) |
static bool | EqualTxns (const std::set< CTransactionRef > &set_txns, const std::vector< CTransactionRef > &vec_txns) |
static bool | EqualTxns (const std::set< CTransactionRef > &set_txns, const std::vector< std::pair< CTransactionRef, NodeId >> &vec_txns) |
BOOST_AUTO_TEST_CASE (DoS_mapOrphans) | |
BOOST_AUTO_TEST_CASE (get_children) | |
BOOST_AUTO_TEST_CASE | ( | DoS_mapOrphans | ) |
BOOST_AUTO_TEST_CASE | ( | get_children | ) |
|
static |
|
static |
Definition at line 81 of file orphanage_tests.cpp.
|
static |
Definition at line 41 of file orphanage_tests.cpp.
|
static |
Definition at line 50 of file orphanage_tests.cpp.