Changeset View
Changeset View
Standalone View
Standalone View
src/test/util/setup_common.h
Show All 10 Lines | |||||
#include <key.h> | #include <key.h> | ||||
#include <node/context.h> | #include <node/context.h> | ||||
#include <primitives/transaction.h> | #include <primitives/transaction.h> | ||||
#include <pubkey.h> | #include <pubkey.h> | ||||
#include <random.h> | #include <random.h> | ||||
#include <scheduler.h> | #include <scheduler.h> | ||||
#include <util/system.h> | #include <util/system.h> | ||||
#include <boost/thread.hpp> // For boost::thread_group | |||||
#include <type_traits> | #include <type_traits> | ||||
/** | /** | ||||
* Version of Boost::test prior to 1.64 have issues when dealing with nullptr_t. | * Version of Boost::test prior to 1.64 have issues when dealing with nullptr_t. | ||||
* In order to work around this, we ensure that the null pointers are typed in a | * In order to work around this, we ensure that the null pointers are typed in a | ||||
* way that Boost will like better. | * way that Boost will like better. | ||||
* | * | ||||
* TODO: Use nullptr directly once the minimum version of boost is 1.64 or more. | * TODO: Use nullptr directly once the minimum version of boost is 1.64 or more. | ||||
▲ Show 20 Lines • Show All 153 Lines • Show Last 20 Lines |