Raven Core  3.0.0
P2P Digital Currency
bench_raven.cpp
Go to the documentation of this file.
1 // Copyright (c) 2015-2016 The Bitcoin Core developers
2 // Copyright (c) 2017-2019 The Raven Core developers
3 // Distributed under the MIT software license, see the accompanying
4 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
5 
6 #include <chainparamsbase.h>
7 #include <chainparams.h>
8 #include "bench.h"
9 #include "crypto/sha256.h"
10 #include "key.h"
11 #include "validation.h"
12 #include "util.h"
13 #include "random.h"
14 
15 int
16 main(int argc, char **argv)
17 {
19  RandomInit();
20  ECC_Start();
22  fPrintToDebugLog = false; // don't want to write to debug.log file
23 
26 
27  ECC_Stop();
28 }
void RandomInit()
Initialize the RNG.
Definition: random.cpp:465
void ECC_Start()
Initialize the elliptic curve support.
Definition: key.cpp:292
std::string SHA256AutoDetect()
Autodetect the best available SHA256 implementation.
Definition: sha256.cpp:180
static const std::string MAIN
BIP70 chain name strings (main, test or regtest)
void ECC_Stop()
Deinitialize the elliptic curve support.
Definition: key.cpp:309
void SelectParams(const std::string &network)
Sets the params returned by Params() to those for the given BIP70 chain name.
static void RunAll(double elapsedTimeForOne=1.0)
Definition: bench.cpp:31
bool fPrintToDebugLog
Definition: util.cpp:96
int main(int argc, char **argv)
Definition: bench_raven.cpp:16
void SetupEnvironment()
Definition: util.cpp:865