mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-12 12:52:35 -03:00
test: move random.h include header from setup_common.h to cpp
This commit is contained in:
parent
1b246fdd14
commit
1cd45d4e08
2 changed files with 2 additions and 1 deletions
|
@ -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>
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue