Switch to libsecp256k1 validation

This commit is contained in:
Pieter Wuille 2015-05-14 18:02:48 -07:00 committed by Matt Corallo
parent 5c8529304a
commit 20339a9b92
8 changed files with 38 additions and 297 deletions

View file

@ -17,6 +17,7 @@
#include "main.h"
#include "miner.h"
#include "net.h"
#include "pubkey.h"
#include "rpcserver.h"
#include "script/standard.h"
#include "txdb.h"
@ -196,6 +197,7 @@ void Shutdown()
pwalletMain = NULL;
#endif
ECC_Stop();
ECC_Verify_Stop();
LogPrintf("%s: done\n", __func__);
}
@ -770,6 +772,7 @@ bool AppInit2(boost::thread_group& threadGroup)
// ********************************************************* Step 4: application initialization: dir lock, daemonize, pidfile, debug log
// Initialize elliptic curve code
ECC_Verify_Start();
ECC_Start();
// Sanity check