Skip to content
Bitcoin Roots

v30.3-roots.1 · Commit 8: [PATCH 08/68] ci: restore Roots assurance on Core 30.3 interfaces

src/bench/blockencodings.cpp

Before: src/bench/blockencodings.cpp · After: src/bench/blockencodings.cpp

File metadata
index 8f6659919c6e80338340c7eb4e8cf30565a734ad..63af7d389bc2da732b33c583313cd0e810849cb2 100644

Download original patch · Release notes

Diff rows 1–9 of 9. Line numbers refer to the original before/after files.

+ Added− RemovedUnmarked lines are context.

Scroll the code area horizontally to read long lines. Before is on the left; after is on the right. Unified view fits narrow screens more easily.

src/bench/blockencodings.cpp CHANGED
@@ -117,8 +117,7 @@ static void BlockEncodingNoExtra(benchmark::Bench& bench)
117
 
118
  static void BlockEncodingStdExtra(benchmark::Bench& bench)
119
  {
120
- static_assert(DEFAULT_BLOCK_RECONSTRUCTION_EXTRA_TXN == 100);
121
- BlockEncodingBench(bench, 50000, 100);
122
  }
123
 
124
  static void BlockEncodingLargeExtra(benchmark::Bench& bench)
 
117
 
118
  static void BlockEncodingStdExtra(benchmark::Bench& bench)
119
  {
120
+ BlockEncodingBench(bench, 50000, DEFAULT_BLOCK_RECONSTRUCTION_EXTRA_TXN);
 
121
  }
122
 
123
  static void BlockEncodingLargeExtra(benchmark::Bench& bench)