neobytes/src/bench/bench_dash.cpp

34 lines
759 B
C++
Raw Normal View History

// Copyright (c) 2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "bench.h"
#include "key.h"
#include "validation.h"
#include "util.h"
2018-10-12 19:39:17 +02:00
#include "bls/bls.h"
2018-05-24 13:56:49 +02:00
void CleanupBLSTests();
void CleanupBLSDkgTests();
int
main(int argc, char** argv)
{
ECC_Start();
2018-09-14 18:04:45 +02:00
ECCVerifyHandle verifyHandle;
BLSInit();
SetupEnvironment();
fPrintToDebugLog = false; // don't want to write to debug.log file
benchmark::BenchRunner::RunAll();
2018-05-24 13:56:49 +02:00
// need to be called before global destructors kick in (PoolAllocator is needed due to many BLSSecretKeys)
CleanupBLSDkgTests();
CleanupBLSTests();
ECC_Stop();
}