<p>i did same thing bro :) i am very happy when you saw your question :) firstly you have to connect another computer . and you have to see "connection=1" To do that, you have use command: ./testcoin -connect= # . and you have to add listen=1 to main pc and addnode for both pcs.However, hashespersec is also zero for me :(</p>

CC BY-SA 3.0
2014-04-14T00:31:10.523Z
I got it to work.. Did you use "setgenerate" to tell it to start mining ??
tupini07
CC BY-SA 3.0
2014-04-17T16:43:59.690Z
ye i did, now, i have mining part. but i still can't see my coins in my wallet address :S do you know what the answer is for this ?
donmezburak
CC BY-SA 3.0
2014-04-18T01:44:43.043Z
if you are mining with the wallet it means you are solo mining (and using a very bad mining software), so it's very difficult for you to earn coins.. your best choice for mining will be joining a mining pool
tupini07
CC BY-SA 3.0
2014-05-03T16:45:53.720Z
i did almost the same thing. however, my hashes per sec is 0 for mainnet. it works on testnet :S why :S
donmezburak
CC BY-SA 3.0
2014-05-04T23:52:10.073Z
Hmm I was reading that on testnet all connections are permitted while on the mainet only the connections coming from the ip you specify are permitted .. Maybe you haven't specified the correct ip on the config file ... You can use 0.0.0.0 to permit all connections, however that's not a very smart idea.... Also, have you specified the 'server' and 'listen' values in your config file?
tupini07
CC BY-SA 3.0
2014-05-23T20:54:30.907Z
i did this. i set rpcallowip=0.0.0.0 and listen=1 and server=1 for server pc. other pc only have the rpcallowip=0.0.0.0 . however, the hashespersec did not change. do you have any other suggestions ?
donmezburak
CC BY-SA 3.0
2014-05-26T03:45:15.470Z
are you connecting the computers with the "connect" parameter? insted of 0.0.0.0 try rpcallowip=192.168.*.*
 if both pcs are on the same network. I hope you can get it to work
tupini07
CC BY-SA 3.0
2014-04-13T19:23:57.037Z
2014-04-13T19:23:57.037Z
donmezburak
<p>Lately I have become interested in the way crytocurrency works. So I decided to make my own cryptocurrency to learn it's internal workings.</p>
<p>I used a clone of <a href="https://github.com/bfroemel/smallchange" rel="nofollow noreferrer">SmallChange</a> and followed <a href="http://dogecoin.ga/how_to_create_scrypt_based_altcoins.html" rel="nofollow noreferrer">this</a> guide.</p>
<p>Everything compiled well, but when I run the program, be it via command line or the qt interface, when I tell it to start mining it just tells me that it is mining but the hashespersecond are 0.</p>
<p>I tried building the litecoin source on my machine and used the exact same configuration that I used in my own altcoin (the same &quot;.conf&quot; file) and when I tell it to mine it does mine.
For my altcoin I used the ports:</p>
<blockquote>
<p>55883 for RCP</p>
<p>55884 for P2P</p>
</blockquote>
<p>My question is, is my computer not mining my altcoin because I'm alone on the network or it is happening because I have made some mistake in my code?</p>
<p>Thank you in advance :)</p>
<p>Edit: my output for &quot;getinfo&quot; is:</p>
<pre><code>{
 &quot;version&quot; : 1000000,
 &quot;protocolversion&quot; : 60001,
 &quot;walletversion&quot; : 60000,
 &quot;balance&quot; : 0.00000000,
 &quot;blocks&quot; : 0,
 &quot;connections&quot; : 0,
 &quot;proxy&quot; : &quot;&quot;,
 &quot;difficulty&quot; : 0.00024414,
 &quot;testnet&quot; : false,
 &quot;keypoololdest&quot; : 1369621665,
 &quot;keypoolsize&quot; : 101,
 &quot;paytxfee&quot; : 0.00000000,
 &quot;mininput&quot; : 0.00010000,
 &quot;errors&quot; : &quot;&quot;
}
</code></pre>
<p>and the output for &quot;getmininginfo&quot; is:</p>
<pre><code> {
 &quot;blocks&quot; : 0,
 &quot;currentblocksize&quot; : 1000,
 &quot;currentblocktx&quot; : 0,
 &quot;difficulty&quot; : 0.00024414,
 &quot;errors&quot; : &quot;&quot;,
 &quot;generate&quot; : true,
 &quot;genproclimit&quot; : 4,
 &quot;hashespersec&quot; : 0,
 &quot;networkhashps&quot; : -9223372036854775808,
 &quot;pooledtx&quot; : 0,
 &quot;testnet&quot; : false


}
</code></pre>

CC BY-SA 3.0
2014-03-17T18:31:08.627Z
Could you please post the output you are getting. It would help narrow down the list of what could have gone wrong :)
Mark
CC BY-SA 3.0
2014-03-17T18:52:15.147Z
which output do you mean? the debug or the output for "getinfo" or "getmininginfo"?
tupini07
<network><altcoin><education>
0 hashes per second in Qt for new altcoin
tupini07
# 0 hashes per second in Qt for new altcoin

(Asked by: username_0 on 2014-03-17)

Lately I have become interested in the way crytocurrency works. So I decided to make my own cryptocurrency to learn it's internal workings.

I used a clone of [SmallChange](https://github.com/bfroemel/smallchange) and followed [this](http://dogecoin.ga/how_to_create_scrypt_based_altcoins.html) guide.

Everything compiled well, but when I run the program, be it via command line or the qt interface, when I tell it to start mining it just tells me that it is mining but the hashespersecond are 0.

I tried building the litecoin source on my machine and used the exact same configuration that I used in my own altcoin (the same ".conf" file) and when I tell it to mine it does mine.
For my altcoin I used the ports:

> 55883 for RCP
>
> 55884 for P2P

My question is, is my computer not mining my altcoin because I'm alone on the network or it is happening because I have made some mistake in my code?

Thank you in advance :)

Edit: my output for "getinfo" is:

```
{
 "version" : 1000000,
 "protocolversion" : 60001,
 "walletversion" : 60000,
 "balance" : 0.00000000,
 "blocks" : 0,
 "connections" : 0,
 "proxy" : "",
 "difficulty" : 0.00024414,
 "testnet" : false,
 "keypoololdest" : 1369621665,
 "keypoolsize" : 101,
 "paytxfee" : 0.00000000,
 "mininput" : 0.00010000,
 "errors" : ""
}

```

and the output for "getmininginfo" is:

```
 {
 "blocks" : 0,
 "currentblocksize" : 1000,
 "currentblocktx" : 0,
 "difficulty" : 0.00024414,
 "errors" : "",
 "generate" : true,
 "genproclimit" : 4,
 "hashespersec" : 0,
 "networkhashps" : -9223372036854775808,
 "pooledtx" : 0,
 "testnet" : false

}

```

**Tags:** network, altcoin, education

> **Comments:**
> **username_1**: Could you please post the output you are getting. It would help narrow down the list of what could have gone wrong :)  
> **username_0**: which output do you mean? the debug or the output for "getinfo" or "getmininginfo"?  

---

## 1 answers

### Answer by username_2 on 2014-04-13. Score: -1 | Accepted answer

i did same thing bro :) i am very happy when you saw your question :) firstly you have to connect another computer . and you have to see "connection=1" To do that, you have use command: ./testcoin -connect= # . and you have to add listen=1 to main pc and addnode for both pcs.However, hashespersec is also zero for me :(

> **Comments:**
> **username_0**: I got it to work.. Did you use "setgenerate" to tell it to start mining ??  
> **username_2**: ye i did, now, i have mining part. but i still can't see my coins in my wallet address :S do you know what the answer is for this ?  
> **username_0**: if you are mining with the wallet it means you are solo mining (and using a very bad mining software), so it's very difficult for you to earn coins.. your best choice for mining will be joining a mining pool  
> **username_2**: i did almost the same thing. however, my hashes per sec is 0 for mainnet. it works on testnet :S why :S  
> **username_0**: Hmm I was reading that on testnet all connections are permitted while on the mainet only the connections coming from the ip you specify are permitted .. Maybe you haven't specified the correct ip on the config file ... You can use 0.0.0.0 to permit all connections, however that's not a very smart idea.... Also, have you specified the 'server' and 'listen' values in your config file?  
> **username_2**: i did this. i set rpcallowip=0.0.0.0 and listen=1 and server=1 for server pc. other pc only have the rpcallowip=0.0.0.0 . however, the hashespersec did not change. do you have any other suggestions ?  
> **username_0**: are you connecting the computers with the "connect" parameter? insted of 0.0.0.0 try rpcallowip=192.168.*.*  if both pcs are on the same network. I hope you can get it to work  

---

