From 3d60a03a7cfb2d46b5f10633e9f6a9a36b8cb76f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Barbosa?= Date: Mon, 1 Jul 2019 21:42:22 +0100 Subject: bench: Move generated data to a dedicated translation unit --- src/bench/data.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/bench/data.cpp (limited to 'src/bench/data.cpp') diff --git a/src/bench/data.cpp b/src/bench/data.cpp new file mode 100644 index 000000000..0ae4c7cad --- /dev/null +++ b/src/bench/data.cpp @@ -0,0 +1,14 @@ +// 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. + +#include + +namespace benchmark { +namespace data { + +#include +const std::vector block413567{block413567_raw, block413567_raw + sizeof(block413567_raw) / sizeof(block413567_raw[0])}; + +} // namespace data +} // namespace benchmark -- cgit v1.2.3