Author

Topic: Question: Solo Mining - Do/Can I Set-up Long Polling...? (Read 8066 times)

newbie
Activity: 30
Merit: 0
do you know if this works for bfgminer as well ? ie solo mining on my first pool and having a backup pool for longpolling support ?

tSo, I have noticed that when I use the failover pool my miner doesnt detect blocks on the network ?

[2014-03-17 19:54:19] Started bfgminer 3.10.0
 [2014-03-17 19:54:19] Probing for an alive pool
 [2014-03-17 19:54:19] Network difficulty changed to 4.25G (30.42Ph/s)
 [2014-03-17 19:54:19] No suitable long-poll found for http://126.0.0.1:8332
 [2014-03-17 19:54:19] Pool 0 http://127.0.0.1:8332 alive
 [2014-03-17 19:54:19] Pool 1 http://stratum.btcguild.com:3333 alive
 [2014-03-17 19:54:19] Pool 1 is hiding block contents from us
 [2014-03-17 19:55:19] Block change for http://127.0.0.1:8332 detection via  http://stratum.btcguild.com:3333 stratum

then it just hangs there and doesnt detect any blocks on the network - though if i turn verbose mode on I can see that my ASIC's are hashing away ?

If I leave out the 2nd pool and add

--no-longpoll

Then it works fine, and i can see blocks being found on the network no problem ?

 [2014-03-17 20:06:06] Started bfgminer 3.10.0
 [2014-03-17 20:06:06] Probing for an alive pool
 [2014-03-17 20:06:07] Network difficulty changed to 4.25G (30.42Ph/s)
 [2014-03-17 20:06:07] Pool 0 http://127.0.0.1:8332 alive
 [2014-03-17 20:06:58] New block detected on network   <-- new found block here!

thanks in advance!
sr. member
Activity: 294
Merit: 250
If you use cgminer and set solo mining as your first pool and set up a real pool which has longpoll as your 2nd pool, cgminer will use the longpoll from the backup pool to help speed up block change on the solo mining.

Thank you for the info! I will give this a try!
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
If you use cgminer and set solo mining as your first pool and set up a real pool which has longpoll as your 2nd pool, cgminer will use the longpoll from the backup pool to help speed up block change on the solo mining.

Does this work both ways with cgminer? Can I have my main pool as the first pool and solo mining as a backup pool?
Yes.
vip
Activity: 1358
Merit: 1000
AKA: gigavps
If you use cgminer and set solo mining as your first pool and set up a real pool which has longpoll as your 2nd pool, cgminer will use the longpoll from the backup pool to help speed up block change on the solo mining.

Does this work both ways with cgminer? Can I have my main pool as the first pool and solo mining as a backup pool?
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
If you use cgminer and set solo mining as your first pool and set up a real pool which has longpoll as your 2nd pool, cgminer will use the longpoll from the backup pool to help speed up block change on the solo mining.
legendary
Activity: 3583
Merit: 1094
Think for yourself
I just want to make sure that I don't waste time solo mining a block that has already been solved... If it was going to take me say a week to solve a block, and I've been hashing on that block for 3 days when somebody else with a better setup or better luck solves it I don't want to continue hashing on that block for the last 4 days it would have taken me to solve it if someone else hadn't beat me to it.

Your not going to be hashing on a Bitcoin block for 3 or 4 days.  The difficulty is set to try to achieve solving 144 blocks a day.  Which is one block every 10 minutes.  And your Bitcoin client will know very quickly when a block has been found.
Sam
sr. member
Activity: 294
Merit: 250
Not with the client, although 0.7.0 has improvements that should reduce idle miner time.  If you're using an older client, I recommend upgrading.  How much idle time are you seeing?

I have no idea, lol...

I am using version 0.6.3 of the client and the only reason I ask is because when I connect my miner to a pool from time to time it tells me when long-polling has detected a new block, when I connect to my own client the threads just keep hashing with no indication of checking for orphaned blocks.

I just want to make sure that I don't waste time solo mining a block that has already been solved... If it was going to take me say a week to solve a block, and I've been hashing on that block for 3 days when somebody else with a better setup or better luck solves it I don't want to continue hashing on that block for the last 4 days it would have taken me to solve it if someone else hadn't beat me to it.
sr. member
Activity: 285
Merit: 250
Turning money into heat since 2011.
Not with the client, although 0.7.0 has improvements that should reduce idle miner time.  If you're using an older client, I recommend upgrading.  How much idle time are you seeing?
sr. member
Activity: 294
Merit: 250
I am trying out solo mining BTC, is there a way to configure my server for long polling and if so, should I be using it?
Jump to: