<p>The mining software (darcoin-cpu-miner- in dashpay github). It used <strong>getwork</strong> method. I changed to cpuminer which uses <strong>getblocktemplate</strong> and supports <strong>x11</strong> also. After that I run my altcoin mining. Then it started working.</p>

CC BY-SA 4.0
2018-08-10T18:56:46.897Z
2018-08-10T18:56:46.897Z
Jon Hebrews
<p>I forked <strong>DASH</strong> a week ago. I am able to generate genesis block hash, merkle hash. I created one VM (ubuntu 16.04) for rpc server. Another one VM For mining. I am able to establish connetion between two VMS's. But when I want to mine genesis block. I cant able to do so and I get the following error.</p>

<pre><code>Launching miner...

[2018-08-09 12:03:38] Binding thread 2 to cpu 2
[2018-08-09 12:03:38] Binding thread 3 to cpu 3
[2018-08-09 12:03:38] Binding thread 1 to cpu 1
[2018-08-09 12:03:38] Binding thread 0 to cpu 0
[2018-08-09 12:03:38] 4 miner threads started, using 'X11' algorithm.
[2018-08-09 12:03:38] HTTP request failed: Failed to connect to 
192.168.0.105 port 80: Connection refused
[2018-08-09 12:03:38] json_rpc_call failed, retry after 30 seconds
</code></pre>

<p>I am currently trying to mine using ("minerd") provided by dash. Could anyone please help on how to solo mine using minerd or anyother app. </p>

<p>My Configuration for miner VM. (sampcoin.conf)</p>

<pre><code>addnode=192.168.0.105
</code></pre>

<p>My Configuration for RPC VM. (sampcoin.conf)</p>

<pre><code>server=1
rpcuser=user
rpcpassword=password
listen=1
daemon=1
</code></pre>

<p>My Altcoin creation method based on this tutorial (<a href="https://www.youtube.com/watch?v=mDGxGYvkDEE" rel="nofollow noreferrer">https://www.youtube.com/watch?v=mDGxGYvkDEE</a>)</p>

<bitcoin-core><bitcoind><miner-configuration><genesis-block><dash>
How do I solo mine my own modified altcoin
Jon Hebrews
# How do I solo mine my own modified altcoin

(Asked by: username_0 on 2018-08-09)

I forked **DASH** a week ago. I am able to generate genesis block hash, merkle hash. I created one VM (ubuntu 16.04) for rpc server. Another one VM For mining. I am able to establish connetion between two VMS's. But when I want to mine genesis block. I cant able to do so and I get the following error.

```
Launching miner...

[2018-08-09 12:03:38] Binding thread 2 to cpu 2
[2018-08-09 12:03:38] Binding thread 3 to cpu 3
[2018-08-09 12:03:38] Binding thread 1 to cpu 1
[2018-08-09 12:03:38] Binding thread 0 to cpu 0
[2018-08-09 12:03:38] 4 miner threads started, using 'X11' algorithm.
[2018-08-09 12:03:38] HTTP request failed: Failed to connect to 
192.168.0.105 port 80: Connection refused
[2018-08-09 12:03:38] json_rpc_call failed, retry after 30 seconds

```

I am currently trying to mine using ("minerd") provided by dash. Could anyone please help on how to solo mine using minerd or anyother app.

My Configuration for miner VM. (sampcoin.conf)

```
addnode=192.168.0.105

```

My Configuration for RPC VM. (sampcoin.conf)

```
server=1
rpcuser=user
rpcpassword=password
listen=1
daemon=1

```

My Altcoin creation method based on this tutorial (<https://www.youtube.com/watch?v=mDGxGYvkDEE>)

**Tags:** bitcoin-core, bitcoind, miner-configuration, genesis-block, dash


---

## 1 answers

### Answer by username_0 on 2018-08-10. Score: 1 | Accepted answer

The mining software (darcoin-cpu-miner- in dashpay github). It used **getwork** method. I changed to cpuminer which uses **getblocktemplate** and supports **x11** also. After that I run my altcoin mining. Then it started working.


---

