Suppress Libsnark Debugging Info

Suppress the Libsnark debugging information displayed on launch
This commit is contained in:
aniemerg 2016-06-19 09:54:54 -04:00
parent 1ea8b00926
commit dd74e9dd32
1 changed files with 4 additions and 4 deletions

View File

@ -632,6 +632,10 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
// ********************************************************* Step 0: Load zcash params
ZC_LoadParams();
// These must be disabled for now, they are buggy and we probably don't
// want any of libsnark's profiling in production anyway.
libsnark::inhibit_profiling_info = true;
libsnark::inhibit_profiling_counters = true;
// ********************************************************* Step 1: setup
#ifdef _MSC_VER
@ -1260,10 +1264,6 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
mempool.ReadFeeEstimates(est_filein);
fFeeEstimatesInitialized = true;
// These must be disabled for now, they are buggy and we probably don't
// want any of libsnark's profiling in production anyway.
libsnark::inhibit_profiling_info = true;
libsnark::inhibit_profiling_counters = true;
// ********************************************************* Step 8: load wallet
#ifdef ENABLE_WALLET