mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-19 13:27:35 +02:00
bench: Move generated data to a dedicated translation unit
This commit is contained in:
parent
3077f11dad
commit
3d60a03a7c
5 changed files with 44 additions and 15 deletions
14
src/bench/data.cpp
Normal file
14
src/bench/data.cpp
Normal file
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue