aboutsummaryrefslogtreecommitdiff
path: root/src/bench/bench_bitcoin.cpp
blob: 226861aa7f745a5edb94155ef17dd86494537fd9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright (c) 2015-2016 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"
#include "random.h"

int
main(int argc, char** argv)
{
    RandomInit();
    ECC_Start();
    SetupEnvironment();
    fPrintToDebugLog = false; // don't want to write to debug.log file

    benchmark::BenchRunner::RunAll();

    ECC_Stop();
}