diff options
author | MarcoFalke <falke.marco@gmail.com> | 2021-01-25 08:42:33 +0100 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2021-01-25 08:42:53 +0100 |
commit | d0852f39a7a3bfbb36437ef20bf94c263cad632a (patch) | |
tree | b217994f4229524cd06cc875d50166af2768fbf2 /contrib/gitian-build.py | |
parent | f707fcde9a70ebe84da969e32255348bc48adcb9 (diff) | |
parent | 7487bc9900d28e1b5361cba882fd8783aafc7092 (diff) | |
download | bitcoin-d0852f39a7a3bfbb36437ef20bf94c263cad632a.tar.xz |
Merge #20998: test: Fix BlockToJsonVerbose benchmark
7487bc9900d28e1b5361cba882fd8783aafc7092 Fix BlockToJsonVerbose benchmark (Martin Ankerl)
Pull request description:
Currently it was not possible to run just the BlockToJsonVerbose benchmark because it did not set up everything it needed, running `bench_bitcoin -filter=BlockToJsonVerbose` caused this assert to fail:
```
bench_bitcoin: chainparams.cpp:506: const CChainParams& Params(): Assertion `globalChainParams' failed.
```
Initializing TestingSetup fixes this.
ACKs for top commit:
theStack:
Tested ACK 7487bc9900d28e1b5361cba882fd8783aafc7092 🐎
Tree-SHA512: 27b9702cb4bacc0475710f7b31f41844e83b8a0787685380749505d179aba724728604d4e4e2e3b3cb38cde88ab12f170881b5d3eb615872ee84632e85312166
Diffstat (limited to 'contrib/gitian-build.py')
0 files changed, 0 insertions, 0 deletions