# Optimized solver for Zcashd

**URL:** https://forum.zcashcommunity.com/t/optimized-solver-for-zcashd/2989
**Category:** Mining
**Created:** [October 22, 2016, 2:17am UTC](https://forum.zcashcommunity.com/t/optimized-solver-for-zcashd/2989 "2016-10-22T02:17:13Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![Jason-1978](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/jason-1978/32/556_2.png) [@Jason-1978](https://forum.zcashcommunity.com/u/Jason-1978)
#### Post date: [October 22, 2016, 2:17am UTC](https://forum.zcashcommunity.com/t/optimized-solver-for-zcashd/2989/1 "2016-10-22T02:17:13Z")

</div>

Did I see a link for this here somewhere or was I dreaming?

---

<div class="post-metadata">

### Author: ![trolloniex](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/trolloniex/32/2833_2.png) [@trolloniex](https://forum.zcashcommunity.com/u/trolloniex)
#### Post date: [October 22, 2016, 3:45am UTC](https://forum.zcashcommunity.com/t/optimized-solver-for-zcashd/2989/2 "2016-10-22T03:45:54Z")

</div>

> **[GitHub - sarath-hotspot/zcash: zcash](https://github.com/sarath-hotspot/zcash)**
>
> zcash. Contribute to sarath-hotspot/zcash development by creating an account on GitHub.

---

<div class="post-metadata">

### Author: ![Jason-1978](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/jason-1978/32/556_2.png) [@Jason-1978](https://forum.zcashcommunity.com/u/Jason-1978)
#### Post date: [October 22, 2016, 1:50pm UTC](https://forum.zcashcommunity.com/t/optimized-solver-for-zcashd/2989/3 "2016-10-22T13:50:19Z")

</div>

I saw that link but the miner is for pools no? I was thinking there was one for the wallet miner. I seem to be lost in the sea of information here now.

---

<div class="post-metadata">

### Author: ![str4d](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/str4d/32/64_2.png) [@str4d](https://forum.zcashcommunity.com/u/str4d)
#### Post date: [October 22, 2016, 2:07pm UTC](https://forum.zcashcommunity.com/t/optimized-solver-for-zcashd/2989/4 "2016-10-22T14:07:59Z")

</div>

We just merged @sarath-hotspot’s changes into Zcash; you will be able to use tromp’s solver in RC2 by adding `equihashsolver=tromp` to your `zcash.conf`.

---

<div class="post-metadata">

### Author: ![sarath-hotspot](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/sarath-hotspot/32/7190_2.png) [@sarath-hotspot](https://forum.zcashcommunity.com/u/sarath-hotspot)
#### Post date: [October 22, 2016, 4:12pm UTC](https://forum.zcashcommunity.com/t/optimized-solver-for-zcashd/2989/5 "2016-10-22T16:12:33Z")

</div>

@str4d  
We need to remove some printf statements. Zcashd is printing unnecessary  
lines on console.

---

<div class="post-metadata">

### Author: ![str4d](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/str4d/32/64_2.png) [@str4d](https://forum.zcashcommunity.com/u/str4d)
#### Post date: [October 22, 2016, 4:15pm UTC](https://forum.zcashcommunity.com/t/optimized-solver-for-zcashd/2989/6 "2016-10-22T16:15:03Z")

</div>

Yes, I’m aware of those (see e.g. [this comment](https://github.com/zcash/zcash/pull/1578#discussion_r84298809)). We didn’t have time to fix them in RC 2, but hopefully we will have time to do so before 1.0.0 (PRs welcome to speed this up!)

---

<div class="post-metadata">

### Author: ![johnalanwoods](https://avatars.discourse-cdn.com/v4/letter/j/c37758/32.png) [@johnalanwoods](https://forum.zcashcommunity.com/u/johnalanwoods)
#### Post date: [October 22, 2016, 5:11pm UTC](https://forum.zcashcommunity.com/t/optimized-solver-for-zcashd/2989/7 "2016-10-22T17:11:31Z")

</div>

is there a guide to setting up your build with one of the pools?

like [zmine.io](http://zmine.io)?

will it be merged with the main zcash src prior to launch?

---

<div class="post-metadata">

### Author: ![trolloniex](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/trolloniex/32/2833_2.png) [@trolloniex](https://forum.zcashcommunity.com/u/trolloniex)
#### Post date: [October 22, 2016, 5:46pm UTC](https://forum.zcashcommunity.com/t/optimized-solver-for-zcashd/2989/8 "2016-10-22T17:46:46Z")

</div>

./zcash-standalone-miner/src/zcash-miner -stratum=stratum+tcp://zec.suprnova.cc:2142 -user=username.worker -password=yourworkerpassword -debug -printtoconsole

Change stratum+tcp://zec.suprnova.cc:2142  
username.worker  
yourworkerpassword  
Accordingly

---

<div class="post-metadata">

### Author: ![staicla](https://avatars.discourse-cdn.com/v4/letter/s/94ad74/32.png) [@staicla](https://forum.zcashcommunity.com/u/staicla)
#### Post date: [October 22, 2016, 9:24pm UTC](https://forum.zcashcommunity.com/t/optimized-solver-for-zcashd/2989/9 "2016-10-22T21:24:37Z")

</div>

Hi,  
I’m running ./src/zcashd -daemon -equihashsolver=tromp but I’ve

“timeoffset” : 0,  
“connections” : 0,  
“proxy” : “”,  
“difficulty” : 2589.69146559,  
“testnet” : true,

It seams to me that it doesn’t work yet, is it?  
thanks all.

---

<div class="post-metadata">

### Author: ![str4d](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/str4d/32/64_2.png) [@str4d](https://forum.zcashcommunity.com/u/str4d)
#### Post date: [October 22, 2016, 9:53pm UTC](https://forum.zcashcommunity.com/t/optimized-solver-for-zcashd/2989/10 "2016-10-22T21:53:16Z")

</div>

You’ll have to wait until RC2 is released, because the current master branch requires a testnet reset.

---

<div class="post-metadata">

### Author: ![0ldPaul](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/0ldpaul/32/12169_2.png) [@0ldPaul](https://forum.zcashcommunity.com/u/0ldPaul)
#### Post date: [October 22, 2016, 10:48pm UTC](https://forum.zcashcommunity.com/t/optimized-solver-for-zcashd/2989/11 "2016-10-22T22:48:33Z")

</div>

@str4d thank you for your strong effort as well as to @sarath-hotspot and @tromp: this is really a great team work ! I’m looking forward to test the new Zcashd RC2 as soon as it’ll be available 🙂

---

<div class="post-metadata">

### Author: ![tromp](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/tromp/32/522_2.png) [@tromp](https://forum.zcashcommunity.com/u/tromp)
#### Post date: [October 22, 2016, 10:49pm UTC](https://forum.zcashcommunity.com/t/optimized-solver-for-zcashd/2989/12 "2016-10-22T22:49:20Z")

</div>

It is available already…

---

<div class="post-metadata">

### Author: ![0ldPaul](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/0ldpaul/32/12169_2.png) [@0ldPaul](https://forum.zcashcommunity.com/u/0ldPaul)
#### Post date: [October 22, 2016, 11:07pm UTC](https://forum.zcashcommunity.com/t/optimized-solver-for-zcashd/2989/13 "2016-10-22T23:07:39Z")

</div>

following the Beta Guide, when trying to upgrade from Beta2 to RC2

cd zcash/ make clean  
 git fetch origin git checkout v1.0.0-rc2

at last step it says:

error: pathspec ‘v1.0.0-rc2’ did not match any file(s) known to git.

@Tromp where could I git checkout it from ?

---

<div class="post-metadata">

### Author: ![tromp](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/tromp/32/522_2.png) [@tromp](https://forum.zcashcommunity.com/u/tromp)
#### Post date: [October 22, 2016, 11:14pm UTC](https://forum.zcashcommunity.com/t/optimized-solver-for-zcashd/2989/14 "2016-10-22T23:14:37Z")

</div>

Oops; seems I was mistaken about RC2 being released already:-(

---

<div class="post-metadata">

### Author: ![Jason-1978](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/jason-1978/32/556_2.png) [@Jason-1978](https://forum.zcashcommunity.com/u/Jason-1978)
#### Post date: [October 22, 2016, 11:19pm UTC](https://forum.zcashcommunity.com/t/optimized-solver-for-zcashd/2989/15 "2016-10-22T23:19:31Z")

</div>

can this be done from the command line? If so what would the command be?

---

<div class="post-metadata">

### Author: ![str4d](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/str4d/32/64_2.png) [@str4d](https://forum.zcashcommunity.com/u/str4d)
#### Post date: [October 23, 2016, 5:08am UTC](https://forum.zcashcommunity.com/t/optimized-solver-for-zcashd/2989/16 "2016-10-23T05:08:48Z")

</div>

RC 2 is now out 🙂

---

<div class="post-metadata">

### Author: ![eddie](https://avatars.discourse-cdn.com/v4/letter/e/f07891/32.png) [@eddie](https://forum.zcashcommunity.com/u/eddie)
#### Post date: [October 23, 2016, 5:18am UTC](https://forum.zcashcommunity.com/t/optimized-solver-for-zcashd/2989/17 "2016-10-23T05:18:15Z")

</div>

Does the official release include your standalone miner or are they separate projects?

---

<div class="post-metadata">

### Author: ![str4d](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/str4d/32/64_2.png) [@str4d](https://forum.zcashcommunity.com/u/str4d)
#### Post date: [October 23, 2016, 5:25am UTC](https://forum.zcashcommunity.com/t/optimized-solver-for-zcashd/2989/18 "2016-10-23T05:25:53Z")

</div>

They are currently separate projects. My standalone miner may get merged into official Zcash at some point, or it may not. I guess it depends on how useful it becomes to the community 🙂 For now, I’m manually updating it when new releases come out.

---

<div class="post-metadata">

### Author: ![str4d](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/str4d/32/64_2.png) [@str4d](https://forum.zcashcommunity.com/u/str4d)
#### Post date: [October 23, 2016, 7:05am UTC](https://forum.zcashcommunity.com/t/optimized-solver-for-zcashd/2989/19 "2016-10-23T07:05:50Z")

</div>

I’ve updated my standalone miner to rc2. If you run it without `-printtoconsole` you should see the node metrics screen. And it accepts the same `-equihashsolver` option as `zcashd`.

---

<div class="post-metadata">

### Author: ![DarthCrypto](https://avatars.discourse-cdn.com/v4/letter/d/a87d85/32.png) [@DarthCrypto](https://forum.zcashcommunity.com/u/DarthCrypto)
#### Post date: [October 23, 2016, 7:43am UTC](https://forum.zcashcommunity.com/t/optimized-solver-for-zcashd/2989/20 "2016-10-23T07:43:06Z")

</div>

So there’s no difference anymore between using your standalone miner and the one by Sarath?

[Next page](https://forum.zcashcommunity.com/t/optimized-solver-for-zcashd/2989.md?page=2)
