aboutsummaryrefslogtreecommitdiff
path: root/src/bench/bench.h
diff options
context:
space:
mode:
authorMarcoFalke <[email protected]>2019-12-17 07:11:44 +0700
committerMarcoFalke <[email protected]>2019-12-23 06:12:10 +0700
commitfaa92a2297b4a6aebdd58d1818c428f1c0346078 (patch)
tree37b1d8636d450c7887d36ce67074fdb5e97fb4b4 /src/bench/bench.h
parenttest: Properly document blockinfo size in miner_tests (diff)
downloaddiscoin-faa92a2297b4a6aebdd58d1818c428f1c0346078.tar.xz
discoin-faa92a2297b4a6aebdd58d1818c428f1c0346078.zip
rpc: Remove mempool global from miner
Diffstat (limited to 'src/bench/bench.h')
-rw-r--r--src/bench/bench.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bench/bench.h b/src/bench/bench.h
index 3a8c487b9..022c020e1 100644
--- a/src/bench/bench.h
+++ b/src/bench/bench.h
@@ -14,6 +14,9 @@
#include <boost/preprocessor/cat.hpp>
#include <boost/preprocessor/stringize.hpp>
+struct RegTestingSetup;
+extern const RegTestingSetup* g_testing_setup; //!< A pointer to the current testing setup
+
// Simple micro-benchmarking framework; API mostly matches a subset of the Google Benchmark
// framework (see https://github.com/google/benchmark)
// Why not use the Google Benchmark framework? Because adding Yet Another Dependency