Browse Source

Auto merge of #1986 - tromer:createjoinsplit-startprofiling, r=ebfull

CreateJoinSplit: add start_profiling() call

This solves the problem of profiling output from the CreteJoinSplit benchmarking binary displaying nonsensical large time values.
v1.0.9-lin
zkbot 8 years ago
parent
commit
06ffa210ee
  1. 3
      src/zcash/CreateJoinSplit.cpp

3
src/zcash/CreateJoinSplit.cpp

@ -5,11 +5,14 @@
#include "../util.h"
#include "primitives/transaction.h"
#include "zcash/JoinSplit.hpp"
#include "libsnark/common/profiling.hpp"
using namespace libzcash;
int main(int argc, char **argv)
{
libsnark::start_profiling();
auto p = ZCJoinSplit::Unopened();
p->loadVerifyingKey((ZC_GetParamsDir() / "sprout-verifying.key").string());
p->setProvingKeyPath((ZC_GetParamsDir() / "sprout-proving.key").string());

Loading…
Cancel
Save