mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-20 15:19:07 +01:00
bench: Move generated data to a dedicated translation unit
This commit is contained in:
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
|
||||
Reference in New Issue
Block a user