mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +02:00
test: Use span for raw data
This change allows to drop brittle sizeof calls in favor of the std::span::size method. Other improvements include: * Use of a namespace to mark test and bench data * Use of the modern std::byte * Drop of a no longer used std::vector copy and the bench/data module
This commit is contained in:
parent
fac973647d
commit
faecca9a85
12 changed files with 24 additions and 54 deletions
|
|
@ -3,7 +3,7 @@
|
|||
// file COPYING or https://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#include <bench/bench.h>
|
||||
#include <bench/data.h>
|
||||
#include <bench/data/block413567.raw.h>
|
||||
#include <chainparams.h>
|
||||
#include <flatfile.h>
|
||||
#include <node/blockstorage.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue