aboutsummaryrefslogtreecommitdiff
path: root/src/bench/block_assemble.cpp
diff options
context:
space:
mode:
authorMarcoFalke <[email protected]>2020-04-24 16:48:21 -0400
committerMarcoFalke <[email protected]>2020-04-24 16:46:54 -0400
commitfabe44e8154a6068d6cba91ec30f00345ed7b275 (patch)
tree3a492d6528437403fd51a916c868fbafb450ad57 /src/bench/block_assemble.cpp
parentMerge #18757: test: Remove enumeration of expected deserialization exceptions... (diff)
downloaddiscoin-fabe44e8154a6068d6cba91ec30f00345ed7b275.tar.xz
discoin-fabe44e8154a6068d6cba91ec30f00345ed7b275.zip
bench: Start nodes with -nodebuglogfile
Diffstat (limited to 'src/bench/block_assemble.cpp')
-rw-r--r--src/bench/block_assemble.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/bench/block_assemble.cpp b/src/bench/block_assemble.cpp
index 1a0084c91..268f67cad 100644
--- a/src/bench/block_assemble.cpp
+++ b/src/bench/block_assemble.cpp
@@ -16,7 +16,14 @@
static void AssembleBlock(benchmark::State& state)
{
- RegTestingSetup test_setup;
+ TestingSetup test_setup{
+ CBaseChainParams::REGTEST,
+ /* extra_args */ {
+ "-nodebuglogfile",
+ "-nodebug",
+ },
+ };
+
const std::vector<unsigned char> op_true{OP_TRUE};
CScriptWitness witness;
witness.stack.push_back(op_true);