Skip to content

Commit

Permalink
Initialize after profiling messages are suppressed.
Browse files Browse the repository at this point in the history
  • Loading branch information
ebfull committed Nov 14, 2016
1 parent 28d635c commit 226a6b3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -984,13 +984,14 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
threadGroup.create_thread(&ThreadShowMetricsScreen);
}

// Initialize Zcash circuit parameters
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;

// Initialize Zcash circuit parameters
ZC_LoadParams();

/* Start the RPC server already. It will be started in "warmup" mode
* and not really process calls already (but it will signify connections
* that the server is there and will be ready later). Warmup mode will
Expand Down

0 comments on commit 226a6b3

Please sign in to comment.