aboutsummaryrefslogtreecommitdiff
path: root/src/bench/data.h
diff options
context:
space:
mode:
authorJoão Barbosa <joao.paulo.barbosa@gmail.com>2019-07-01 21:42:22 +0100
committerJoão Barbosa <joao.paulo.barbosa@gmail.com>2019-07-02 18:11:15 +0100
commit3d60a03a7cfb2d46b5f10633e9f6a9a36b8cb76f (patch)
treec9331766a3fa5b11dba590a0f968f36472e6a1c0 /src/bench/data.h
parent3077f11dadffbc8f2575449fc0177c91a9c3e046 (diff)
downloadbitcoin-3d60a03a7cfb2d46b5f10633e9f6a9a36b8cb76f.tar.xz
bench: Move generated data to a dedicated translation unit
Diffstat (limited to 'src/bench/data.h')
-rw-r--r--src/bench/data.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/bench/data.h b/src/bench/data.h
new file mode 100644
index 0000000000..5f13d766ea
--- /dev/null
+++ b/src/bench/data.h
@@ -0,0 +1,19 @@
+// Copyright (c) 2019 The Bitcoin Core developers
+// Distributed under the MIT software license, see the accompanying
+// file COPYING or http://www.opensource.org/licenses/mit-license.php.
+
+#ifndef BITCOIN_BENCH_DATA_H
+#define BITCOIN_BENCH_DATA_H
+
+#include <cstdint>
+#include <vector>
+
+namespace benchmark {
+namespace data {
+
+extern const std::vector<uint8_t> block413567;
+
+} // namespace data
+} // namespace benchmark
+
+#endif // BITCOIN_BENCH_DATA_H