Pages:
Author

Topic: How to solo mine CHN Coin? (Read 13210 times)

newbie
Activity: 7
Merit: 502
May 05, 2013, 05:33:36 PM


I've just tried to set up solo-mining (cnc) with cgminer, eventually got it running but I doesn't seem to be accepting/rejecting blocks?
In the last hour I've found about 50 new blocks

can anyone tell me is this normal? do you have to wait till the blocks are either accepted/rejected.



2x7950 MSI Frozr, Windows 7

cgminer.exe --scrypt -u username -p password -o 127.0.0.1:8108 --gpu-engine 1001 --gpu-memclock 1401 -I 19 -w 256 --lookup-gap 2 -g 1

chncoin.conf file:
rpcuser=username
rpcpassword=password
rpcallowip=127.0.0.1
rcpallowip=192.168.1.*
rpcport=8108
port=8106
daemon=1
server=1
gen=0

chncoin-qt -server

Finding blocks means it running right.

Please tell me that you aren't solo mining with username = user and password = password.
newbie
Activity: 2
Merit: 0
July 29, 2014, 03:01:17 AM
i just start to learn solo mining CHncoin  I need help with my cgminer to run it right. this is what I have so far. I has syn the chncoin wallet. but when I try to run the cgminer it give me a no suitable long poll found on 127.0.0.1:8108 then cgminer crashed.

I am using windows 8.1
cgminer --scrypt  -o 127.0.0.1:8108 -u my username -p my password

chncoin.conf

rpcuser=username
rpcpassword=password
rcpallowip=127.0.0.1
rpcport=8108
port=8106
daemon=1
server=1
gen=0

please help me out, what did I did wrong here?
sr. member
Activity: 439
Merit: 250
May 12, 2013, 04:46:10 PM
Did I miss something?

I need the address to point my cpuminer at. Anyone have that address/IP and port?
member
Activity: 112
Merit: 10
May 09, 2013, 04:32:35 PM
#99
As per the previous comment, the way to set a failover option is as follows... In the cgminer.conf file in the pool section, you just add a second section under the first with a comma seperating them.  like so :

 {
      "url" : "http://127.0.0.1:8104",
      "user" : "yourusername",
      "pass" : "yourpassword"
   },
   {
      "url" : "http://silverwolf.ath.cx:8339",
      "user" : "yourusername.workername",
      "pass" : "yourworkerpassword"
   }



That way if the first one goes down (client crashes, etc...) then cgminer will switch to the second automatically.  It will also use whatever longpolling data it can find from either pool source, so you should be good there.

You can set as many pools as you want in that fashion.
member
Activity: 112
Merit: 10
May 09, 2013, 04:27:10 PM
#98
Download the client & create a chncoin.conf file in your %appdata%\Roaming\Chncoin folder with the following info :

rpcuser=username
rpcpassword=password
rpcallowip=127.0.0.1
rcpallowip=192.168.1.*
rpcport=8108
port=8106
daemon=1
server=1
gen=0


save this file, then restart the chncoin client.

then point your miner to localhost:8108 -u username -p password

Thanks, also how do I collect the coins to my wallet?

Hi, do you have to add the "-server" to your CHNCoin-qt shortcut command?.  I'm a bit confused with this.  I connected to CHNCoin-qt without the "-server"  using a CPU miner but I can't connect when I try to use CGMiner and got this:

 [2013-05-09 20:38:02] Started cgminer 3.1.0
 [2013-05-09 20:38:02] Probing for an alive pool
 [2013-05-09 20:38:02] Network diff set to 2.74M
 [2013-05-09 20:38:02] No suitable long-poll found for http://127.0.0.1:8108

My CGminer command line is: cgminer.exe --scrypt -u username -p password -o 127.0.0.1:8108 --auto-fan --temp-target 70

What I'm doing wrong?

The CHNCoin-qt server does not support long-polling, that is what you are supposed to see.


Thanks for the reply, then that means that I can't do GPU solo mining with the CHNcoin-qt or chncoind and CPU mining is a very big waste of time.   Do you know any other way to do?

You can still solomine without LP support, it will still work it's just slightly less efficient because it may not know about discovered blocks as fast.   
Alternatively, you can add a pool (any cnc pool will work) as a failover option and cgminer will use the Long Polling from it.  Also if your client crashes or something then cgminer will switch over to the failover option so that it doesn't sit idle all night whie you are asleep Smiley.

You can use my pool as a failover option if you want, i don't mind...  http://silverwolf.ath.cx/cnc

sr. member
Activity: 277
Merit: 250
May 09, 2013, 04:05:30 PM
#97
yes i know how, just make your first pool solo mining and use the second pool, a p2pool its also good and start cgminer

my cgminer.conf for testing when there is a nice and good p2pool.exe  Tongue

{
"pools" : [
   {
      "url" : "http://192.168.0.2:8844",
      "user" : "chncoin1",
      "pass" : "YuperetPasdNuDNLLOBBED3"
   },
   {
      "url" : "stratum+tcp://stratum.weminecnc.com:5555",
      "user" : "noname.4",
      "pass" : "1"
   },
   {
      "url" : "http://chncoin.no-ip.biz:9340",
      "user" : "Cea5zk3spFpbZgcm9UQXKq2CEyc9EMK1ee+0.00011641",
      "pass" : "12345"
   }
]
,
"intensity" : "12",
"vectors" : "1",
"worksize" : "64",
"kernel" : "scrypt",
"lookup-gap" : "2",
"thread-concurrency" : "2048",
"shaders" : "400",
"scrypt" : true,
"failover-only" : true,
"fix-protocol" : true,
"gpu-engine" : "0-0",
"gpu-fan" : "0-80",
"gpu-memclock" : "0",
"gpu-memdiff" : "0",
"gpu-powertune" : "0",
"gpu-vddc" : "0.000",
"temp-cutoff" : "95",
"temp-overheat" : "85",
"temp-target" : "75",
"api-port" : "4028",
"expiry" : "5",
"gpu-dyninterval" : "7",
"gpu-platform" : "0",
"gpu-threads" : "2",
"hotplug" : "5",
"log" : "5",
"queue" : "0",
"scan-time" : "5",
"temp-hysteresis" : "3",
"shares" : "0",
"no-pool-disable" : true,
"kernel-path" : "/usr/local/bin"
}

im not very good with english but im sure with that someone can help you more than me.
good luck
full member
Activity: 142
Merit: 100
May 09, 2013, 03:50:07 PM
#96
Download the client & create a chncoin.conf file in your %appdata%\Roaming\Chncoin folder with the following info :

rpcuser=username
rpcpassword=password
rpcallowip=127.0.0.1
rcpallowip=192.168.1.*
rpcport=8108
port=8106
daemon=1
server=1
gen=0


save this file, then restart the chncoin client.

then point your miner to localhost:8108 -u username -p password

Thanks, also how do I collect the coins to my wallet?

Hi, do you have to add the "-server" to your CHNCoin-qt shortcut command?.  I'm a bit confused with this.  I connected to CHNCoin-qt without the "-server"  using a CPU miner but I can't connect when I try to use CGMiner and got this:

 [2013-05-09 20:38:02] Started cgminer 3.1.0
 [2013-05-09 20:38:02] Probing for an alive pool
 [2013-05-09 20:38:02] Network diff set to 2.74M
 [2013-05-09 20:38:02] No suitable long-poll found for http://127.0.0.1:8108

My CGminer command line is: cgminer.exe --scrypt -u username -p password -o 127.0.0.1:8108 --auto-fan --temp-target 70

What I'm doing wrong?

The CHNCoin-qt server does not support long-polling, that is what you are supposed to see.


Thanks for the reply, then that means that I can't do GPU solo mining with the CHNcoin-qt or chncoind and CPU mining is a very big waste of time.   Do you know any other way to do?
full member
Activity: 142
Merit: 100
May 09, 2013, 03:47:27 PM
#95
as far as I know is this in .conf
server=1
the same
as, if your run chncoin-qt.exe with "-server" comand
maybe in cmd you will be able to run chncoin-qt.exe -server this way.

I had the same as you posted in cgminer, than I shut down chncoin-qt and cgminer  respond that he lost connection to the server. So I am preety sure you are doing fine.
Just be sure I have opened 8108? port on your router (pointing to your lan IP - 192,168.0.100 or 192.168.1.100 or something else.)

Hi, yes the 8108 port is opened because the CPU miner is working good (11 khash7s), but looks that the CHNCoin-qt server doesn't allow long poll.  Other user is posting that here....   Sad
member
Activity: 112
Merit: 10
May 09, 2013, 02:49:22 PM
#94
Download the client & create a chncoin.conf file in your %appdata%\Roaming\Chncoin folder with the following info :

rpcuser=username
rpcpassword=password
rpcallowip=127.0.0.1
rcpallowip=192.168.1.*
rpcport=8108
port=8106
daemon=1
server=1
gen=0


save this file, then restart the chncoin client.

then point your miner to localhost:8108 -u username -p password

Thanks, also how do I collect the coins to my wallet?

Hi, do you have to add the "-server" to your CHNCoin-qt shortcut command?.  I'm a bit confused with this.  I connected to CHNCoin-qt without the "-server"  using a CPU miner but I can't connect when I try to use CGMiner and got this:

 [2013-05-09 20:38:02] Started cgminer 3.1.0
 [2013-05-09 20:38:02] Probing for an alive pool
 [2013-05-09 20:38:02] Network diff set to 2.74M
 [2013-05-09 20:38:02] No suitable long-poll found for http://127.0.0.1:8108

My CGminer command line is: cgminer.exe --scrypt -u username -p password -o 127.0.0.1:8108 --auto-fan --temp-target 70

What I'm doing wrong?

The CHNCoin-qt server does not support long-polling, that is what you are supposed to see.
full member
Activity: 233
Merit: 100
Andrius | Junior Business developer at Unboxed ICO
May 09, 2013, 02:30:11 PM
#93
as far as I know is this in .conf
server=1
the same
as, if your run chncoin-qt.exe with "-server" comand
maybe in cmd you will be able to run chncoin-qt.exe -server this way.

I had the same as you posted in cgminer, than I shut down chncoin-qt and cgminer  respond that he lost connection to the server. So I am preety sure you are doing fine.
Just be sure I have opened 8108? port on your router (pointing to your lan IP - 192,168.0.100 or 192.168.1.100 or something else.)
full member
Activity: 142
Merit: 100
May 09, 2013, 01:05:47 PM
#92
Download the client & create a chncoin.conf file in your %appdata%\Roaming\Chncoin folder with the following info :

rpcuser=username
rpcpassword=password
rpcallowip=127.0.0.1
rcpallowip=192.168.1.*
rpcport=8108
port=8106
daemon=1
server=1
gen=0


save this file, then restart the chncoin client.

then point your miner to localhost:8108 -u username -p password

Thanks, also how do I collect the coins to my wallet?

Hi, do you have to add the "-server" to your CHNCoin-qt shortcut command?.  I'm a bit confused with this.  I connected to CHNCoin-qt without the "-server"  using a CPU miner but I can't connect when I try to use CGMiner and got this:

 [2013-05-09 20:38:02] Started cgminer 3.1.0
 [2013-05-09 20:38:02] Probing for an alive pool
 [2013-05-09 20:38:02] Network diff set to 2.74M
 [2013-05-09 20:38:02] No suitable long-poll found for http://127.0.0.1:8108

My CGminer command line is: cgminer.exe --scrypt -u username -p password -o 127.0.0.1:8108 --auto-fan --temp-target 70

What I'm doing wrong?
full member
Activity: 233
Merit: 100
Andrius | Junior Business developer at Unboxed ICO
May 08, 2013, 10:58:14 PM
#91
I tried on weminecnc.com but than i go back on btc with guiminer.
member
Activity: 94
Merit: 10
May 08, 2013, 06:26:57 PM
#90
this is becouse you are mining with cpu. minerd.exe support only cpu.
for gpu minig you need cgminer-3.1.0-windows (with --script)
http://ck.kolivas.org/apps/cgminer/cgminer-3.1.0-windows.zip

example: start/run/cmd
cgminer.exe --scrypt -o http://yourpool.com:5555 -u username of worker -p password of worker -I 13 (intensity, could be "d" for dynamic but low hash or "18" but lag desktop)
I am getting with 6870 ~240Khs with I 14, with I 18 goes to ~300khs but no comment about desktop.
Thank you! I think im starting to get it now, which pool do you run on?
full member
Activity: 233
Merit: 100
Andrius | Junior Business developer at Unboxed ICO
May 07, 2013, 01:54:01 PM
#89
this is becouse you are mining with cpu. minerd.exe support only cpu.
for gpu minig you need cgminer-3.1.0-windows (with --script)
http://ck.kolivas.org/apps/cgminer/cgminer-3.1.0-windows.zip

example: start/run/cmd
cgminer.exe --scrypt -o http://yourpool.com:5555 -u username of worker -p password of worker -I 13 (intensity, could be "d" for dynamic but low hash or "18" but lag desktop)
I am getting with 6870 ~240Khs with I 14, with I 18 goes to ~300khs but no comment about desktop.
member
Activity: 94
Merit: 10
May 07, 2013, 02:36:00 AM
#88
Hi,

I started to solomine right now but I only get like 3 kH/s, it´s ridiculous.
I have a HD 6870 and 8GB of DDR2 RAM 800 Mhz.

This is the first time I´ve tried scrypt-mining sha-256 works fine, could it be because I´m using DDR2 RAM?.
Do anyone have any idea why it´s so slow?

Edit: Or is it because it only us the CPU instead of the GPU? I used the miner that came with the Chinacoin package, but I also have cgminer, but I havent got it to work properly.
full member
Activity: 154
Merit: 100
May 05, 2013, 06:31:04 PM
#87


I've just tried to set up solo-mining (cnc) with cgminer, eventually got it running but I doesn't seem to be accepting/rejecting blocks?
In the last hour I've found about 50 new blocks

can anyone tell me is this normal? do you have to wait till the blocks are either accepted/rejected.



2x7950 MSI Frozr, Windows 7

cgminer.exe --scrypt -u username -p password -o 127.0.0.1:8108 --gpu-engine 1001 --gpu-memclock 1401 -I 19 -w 256 --lookup-gap 2 -g 1

chncoin.conf file:
rpcuser=username
rpcpassword=password
rpcallowip=127.0.0.1
rcpallowip=192.168.1.*
rpcport=8108
port=8106
daemon=1
server=1
gen=0

chncoin-qt -server

Finding blocks means it running right.

Please tell me that you aren't solo mining with username = user and password = password.

Hi guys,

I follow these instructions but get

Quote
[2013-05-06 08:58:12] Unable to get work from pool 0 http://127.0.0.1:8108
 [2013-05-06 08:58:12] No servers were found that could be used to get work from
.
 [2013-05-06 08:58:12] Please check the details from the list below of the serve
rs you have input
 [2013-05-06 08:58:12] Most likely you have input the wrong URL, forgotten to ad
d a port, or have not set up workers
 [2013-05-06 08:58:12] Pool: 0  URL: http://127.0.0.1:8108  User: usernameinconffile  Pass
word: passwordinconffile
 [2013-05-06 08:58:12] Press any key to exit, or cgminer will try again in 15s.


just wondering what I'm doing wrong, is the username and password in the cgscript just what you put in the chncoin.conf?

also my network is 192.168.1.* - is the * what you put in so all computers on the local network can fine to that wallet? Also is http://127.0.0.1:8108 the same for all computers? I don't understand the significance of this number sorry
newbie
Activity: 42
Merit: 0
May 05, 2013, 05:40:57 PM
#86
no I just quickly copy and pasted the conf details from earlier in the thread. Is it worth me changing my scantime (at 60 right now) or adding long polling?
newbie
Activity: 42
Merit: 0
May 05, 2013, 05:24:50 PM
#85
http://i1281.photobucket.com/albums/a504/mixmatosis/cgminer_zps5316b4e2.jpg

I've just tried to set up solo-mining (cnc) with cgminer, eventually got it running but I doesn't seem to be accepting/rejecting blocks?
In the last hour I've found about 50 new blocks

can anyone tell me is this normal? do you have to wait till the blocks are either accepted/rejected.



2x7950 MSI Frozr, Windows 7

cgminer.exe --scrypt -u username -p password -o 127.0.0.1:8108 --gpu-engine 1001 --gpu-memclock 1401 -I 19 -w 256 --lookup-gap 2 -g 1

chncoin.conf file:
rpcuser=username
rpcpassword=password
rpcallowip=127.0.0.1
rcpallowip=192.168.1.*
rpcport=8108
port=8106
daemon=1
server=1
gen=0

chncoin-qt -server
hero member
Activity: 708
Merit: 500
May 05, 2013, 03:49:02 PM
#84
Hi i just mined in solo mode by following this instructions.
I have to show you guys something so weird, i just found 383 Blocks with my 2000khs rig.





After a few minutes, the CNC wallet crash and star loading blocks again. it seems i lose all the coins and the registrers of transactions.
I almost cry when i see all those coins and blocks.
I so sad Sad

That was back when difficulty was 16, you didn't sync ur wallet
newbie
Activity: 67
Merit: 0
May 05, 2013, 03:35:29 PM
#83
sweeppicking

Jesus Christ  Mate  look at  your   R:  ( rejected )   You  got  more  R:  than   A: ( accepted )
Pages:
Jump to: