Skip to content

Commit

Permalink
merge bitcoin#20998: Fix BlockToJsonVerbose benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
kwvg committed Jan 25, 2024
1 parent c103e41 commit 9ce9319
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/bench/rpc_blockchain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,15 @@
#include <llmq/instantsend.h>
#include <rpc/blockchain.h>
#include <streams.h>
#include <test/util/setup_common.h>
#include <validation.h>

#include <univalue.h>

static void BlockToJsonVerbose(benchmark::Bench& bench) {
static void BlockToJsonVerbose(benchmark::Bench& bench)
{
TestingSetup test_setup{};

CDataStream stream(benchmark::data::block813851, SER_NETWORK, PROTOCOL_VERSION);
char a = '\0';
stream.write(&a, 1); // Prevent compaction
Expand Down

0 comments on commit 9ce9319

Please sign in to comment.