diff options
| author | João Barbosa <[email protected]> | 2019-07-01 21:42:22 +0100 |
|---|---|---|
| committer | João Barbosa <[email protected]> | 2019-07-02 18:11:15 +0100 |
| commit | 3d60a03a7cfb2d46b5f10633e9f6a9a36b8cb76f (patch) | |
| tree | c9331766a3fa5b11dba590a0f968f36472e6a1c0 /src/bench/data.cpp | |
| parent | Merge #16289: test: Add missing ECC_Stop() in GUI rpcnestedtests.cpp (diff) | |
| download | discoin-3d60a03a7cfb2d46b5f10633e9f6a9a36b8cb76f.tar.xz discoin-3d60a03a7cfb2d46b5f10633e9f6a9a36b8cb76f.zip | |
bench: Move generated data to a dedicated translation unit
Diffstat (limited to 'src/bench/data.cpp')
| -rw-r--r-- | src/bench/data.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
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 <bench/data.h> + +namespace benchmark { +namespace data { + +#include <bench/data/block413567.raw.h> +const std::vector<uint8_t> block413567{block413567_raw, block413567_raw + sizeof(block413567_raw) / sizeof(block413567_raw[0])}; + +} // namespace data +} // namespace benchmark |