test: move random.h include header from setup_common.h to cpp

This commit is contained in:
Jon Atack committed 2023-06-14 08:28:33 -06:00
1 parent 1b246fdd14
commit 1cd45d4e08
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -32,6 +32,7 @@
#include <policy/fees.h> #include <policy/fees.h>
#include <policy/fees_args.h> #include <policy/fees_args.h>
#include <pow.h> #include <pow.h>
#include <random.h>
#include <rpc/blockchain.h> #include <rpc/blockchain.h>
#include <rpc/register.h> #include <rpc/register.h>
#include <rpc/server.h> #include <rpc/server.h>
+1 -1
View File
@@ -11,7 +11,6 @@
#include <node/context.h> // IWYU pragma: export #include <node/context.h> // IWYU pragma: export
#include <primitives/transaction.h> #include <primitives/transaction.h>
#include <pubkey.h> #include <pubkey.h>
#include <random.h>
#include <stdexcept> #include <stdexcept>
#include <util/chaintype.h> #include <util/chaintype.h>
#include <util/check.h> #include <util/check.h>
@@ -25,6 +24,7 @@
class CFeeRate; class CFeeRate;
class Chainstate; class Chainstate;
class FastRandomContext;
/** This is connected to the logger. Can be used to redirect logs to any other log */ /** This is connected to the logger. Can be used to redirect logs to any other log */
extern const std::function<void(const std::string&)> G_TEST_LOG_FUN; extern const std::function<void(const std::string&)> G_TEST_LOG_FUN;