Skip to content
Bitcoin Roots

v31.1-roots.1 · Commit 9: [PATCH 09/17] fix(roots): restore audited portability and runtime behavior

src/bench/blockencodings.cpp

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

File metadata
index ce968dbc6516867f83ab3337f79d1f75c46578a9..fc67c0ce401d9e47c33621a99d5987569efe777d 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. The two line-number columns refer to before and after.

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