Bitcoin Forum

Bitcoin => Mining support => Topic started by: Goldy on April 10, 2013, 03:04:34 PM



Title: Trouble with p2pool and cfgminer for mining litecoin
Post by: Goldy on April 10, 2013, 03:04:34 PM
Hello,

I've got a problem to mine litecoin with p2pool and cfgminer. Everything seems to work, but p2pool displays that local mining is 0h/s even after 1 hour of mining.

Code:
2013-04-10 16:21:27.650138 P2Pool: 17353 shares in chain (9320 verified/17357 total) Peers: 6 (0 incoming)
2013-04-10 16:21:27.650204  Local: 0H/s in last 0.0 seconds Local dead on arrival: ??? Expected time to share: ???
2013-04-10 16:21:27.650264  Shares: 0 (0 orphan, 0 dead) Stale rate: ??? Efficiency: ??? Current payout: 0.0000 LTC
2013-04-10 16:21:27.650333  Pool: 412MH/s Stale rate: 15.7% Expected time to block: 40.6 minutes

I compiled the last version of cfgminer from git, with scrypt support, the last version of litecoind and I'm using the last version of p2pool.

Is there something special to do with cfgminer ? It looks to be working, it provides shares, but p2pool always says "Local: 0h/s"

My cfgminer json config :

Code:
{
"pools" : [
        {
                "url" : "http://127.0.0.1:9327",
                "user" : "user",
                "pass" : "pass"
        }

]
,
"intensity" : "d",
"vectors" : "1",
"worksize" : "256",
"kernel" : "poclbm",
"api-port" : "4028",
"expiry" : "120",
"gpu-dyninterval" : "7",
"gpu-platform" : "0",
"gpu-threads" : "1",
"log" : "5",
"no-pool-disable" : true,
"queue" : "1",
"scan-time" : "60",
"shares" : "0",
"kernel-path" : "/usr/local/bin"
}

My p2pool cmd :

Code:
python p2pool/run_p2pool.py --net litecoin --give-author 0.1 --irc-announce --disable-upnp --p2pool-port 9333 --bitcoind-address 192.168.1.42 --bitcoind-rpc-port 9332  --bitcoind-p2p-port 9444 user pass

And my litecoin.conf :

Code:
rpcuser=user
rpcpassword=pass

port=9444

rpcallowip=192.168.1.*

rpcport=9332

If someone can help me, thanks  :)


Title: Re: Trouble with p2pool and cfgminer for mining litecoin
Post by: NightAss on April 11, 2013, 10:30:24 PM
first thing

--give-author 0.1  should be set to 0



rpcuser=user
rpcpassword=pass

I hope there not your usernames or passwords if any one gets your passwords thay can steal your litecoin

2ed I am no pro at all but

I thort "intensity" : "d", was ment to use a number eg "intensity" : "12",

again not a pro but I would change "expiry" : "120", to like 240 or sumthing


if you want you can test it on my p2pool http://ltc.cryptocoined.com:9327/  you will get the same amount of litecoin and save your self the bandwidth of running your own node
and feel free to use it as long as you like makes no difference to me
Code:
{
"pools" : [
{
"url" : "http://ltc.cryptocoined.com:9327",
"user" : "Put Your Address Here",
"pass" : "123"
}
]
,
"intensity" : "15",
"vectors" : "1",
"worksize" : "256",
"kernel" : "scrypt",
"lookup-gap" : "0",
"thread-concurrency" : "8192",
"shaders" : "2048",
"gpu-fan" : "50-100",
"temp-cutoff" : "101",
"temp-overheat" : "85",
"temp-target" : "75",
"api-port" : "4028",
"expiry" : "240",
"gpu-dyninterval" : "7",
"gpu-platform" : "0",
"gpu-threads" : "1",
"hotplug" : "5",
"log" : "5",
"no-pool-disable" : true,
"queue" : "1",
"scan-time" : "30",
"scrypt" : true,
"temp-hysteresis" : "2",
"shares" : "0",
"kernel-path" : "/usr/local/bin"
}

try that if you want


Title: Re: Trouble with p2pool and cfgminer for mining litecoin
Post by: Goldy on April 12, 2013, 01:52:24 AM
Hi NightAss

Thanks for your reply  :)

first thing

--give-author 0.1  should be set to 0


Well, is that bad to be generous? ;D

Quote
rpcuser=user
rpcpassword=pass

I hope there not your usernames or passwords if any one gets your passwords thay can steal your litecoin


No no, I know that, there are not my real credentials

Quote
2ed I am no pro at all but

I thort "intensity" : "d", was ment to use a number eg "intensity" : "12",

again not a pro but I would change "expiry" : "120", to like 240 or sumthing


if you want you can test it on my p2pool http://ltc.cryptocoined.com:9327/  you will get the same amount of litecoin and save your self the bandwidth of running your own node
and feel free to use it as long as you like makes no difference to me
Code:
{
"pools" : [
{
"url" : "http://ltc.cryptocoined.com:9327",
"user" : "Put Your Address Here",
"pass" : "123"
}
]
,
"intensity" : "15",
"vectors" : "1",
"worksize" : "256",
"kernel" : "scrypt",
"lookup-gap" : "0",
"thread-concurrency" : "8192",
"shaders" : "2048",
"gpu-fan" : "50-100",
"temp-cutoff" : "101",
"temp-overheat" : "85",
"temp-target" : "75",
"api-port" : "4028",
"expiry" : "240",
"gpu-dyninterval" : "7",
"gpu-platform" : "0",
"gpu-threads" : "1",
"hotplug" : "5",
"log" : "5",
"no-pool-disable" : true,
"queue" : "1",
"scan-time" : "30",
"scrypt" : true,
"temp-hysteresis" : "2",
"shares" : "0",
"kernel-path" : "/usr/local/bin"
}

try that if you want

I didn't know that p2pool allows payment to another address from the miner, thanks to learn me that  :) I will try your pool, I've got latency problem with my curent setup.