Bitcoin Forum
December 03, 2016, 05:45:17 PM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 [28] 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 ... 744 »
  Print  
Author Topic: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool  (Read 2029080 times)
forrestv
Hero Member
*****
Offline Offline

Activity: 510


View Profile
February 10, 2012, 06:33:01 PM
 #541

Still using GuiMiner, it throws:
Quote
2012-02-10 17:50:49: Miner "p2pool": 127.0.0.1:9332 10/02/2012 17:50:49, long poll: new block 000004f709b08c9c
2012-02-10 17:50:53: Miner "p2pool": 127.0.0.1:9332 10/02/2012 17:50:53, Unexpected error:
2012-02-10 17:51:03: Miner "p2pool": 127.0.0.1:9332 10/02/2012 17:51:03, Unexpected error:
2012-02-10 17:51:09: Miner "p2pool": 127.0.0.1:9332 10/02/2012 17:51:09, Unexpected error:
2012-02-10 17:51:10: Miner "p2pool": 127.0.0.1:9332 10/02/2012 17:51:10, long poll: new block 000004f709b08c9c
2012-02-10 17:51:16: Miner "p2pool": 127.0.0.1:9332 10/02/2012 17:51:16, long poll: new block 000004f709b08c9c
2012-02-10 17:51:18: Miner "p2pool": 127.0.0.1:9332 10/02/2012 17:51:18, long poll: new block 000004f709b08c9c

Any ideas?

Do all of the rigs have identical configurations? It looks like you're using poclbm as the backend.. Maybe try downloading the newest version of poclbm from https://github.com/m0mchil/poclbm/downloads and dropping it into GUIMiner's directory?

1J1zegkNSbwX4smvTdoHSanUfwvXFeuV23
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1480787117
Hero Member
*
Offline Offline

Posts: 1480787117

View Profile Personal Message (Offline)

Ignore
1480787117
Reply with quote  #2

1480787117
Report to moderator
1480787117
Hero Member
*
Offline Offline

Posts: 1480787117

View Profile Personal Message (Offline)

Ignore
1480787117
Reply with quote  #2

1480787117
Report to moderator
Syke
Legendary
*
Offline Offline

Activity: 2086


View Profile
February 10, 2012, 07:53:23 PM
 #542

This fact that is not possibile to tell exactly what was found and when is a big problem, IMHO, which could stop miners from switching to p2pool.

+1

p2pool claims to be totally transparent. Users having full control (as in opposite to big mining pools).

Yet we don't even know for sure when / what was found.

Here's a great command to list found blocks:
Code:
bitcoind listtransactions

Buy & Hold
ThiagoCMC
Legendary
*
Offline Offline

Activity: 1190


฿itcoin: Currency of Resistance!


View Profile WWW
February 10, 2012, 07:57:41 PM
 #543

This fact that is not possibile to tell exactly what was found and when is a big problem, IMHO, which could stop miners from switching to p2pool.

+1

p2pool claims to be totally transparent. Users having full control (as in opposite to big mining pools).

Yet we don't even know for sure when / what was found.

Here's a great command to list found blocks:
Code:
bitcoind listtransactions

+1

Mercado Forex acessível para todos os Brasileiros que tenham Bitcoins! Cadastre-se hoje mesmo! Bastar acessar aqui: https://1broker.com/m/r.php?i=8879
Proofer
Sr. Member
****
Offline Offline

Activity: 251


View Profile
February 10, 2012, 08:23:56 PM
 #544

Here's a great command to list found blocks:
Code:
bitcoind listtransactions

For Linux and/or bash users:  here's a bash function I wrote yesterday -- it omits the txid lines from listtransactions, but more important (to me) it adds a human-readable time to the time of each one:

Code:
btx () {
    bitcoind listtransactions $* | while read name colon value
        do
            if [ $colon ] ; then
                if [ $name != '"txid"' ] ; then # omit txid line
                    if [ $name = '"time"' ] ; then  # provide a readable version of time
                        echo '"time"' : $value = `date -d "1970-01-01 $value seconds UTC" +"%Y-%m-%d %T %z"`
                    else
                        echo "$name : $value"
                    fi
                fi
            else
                echo $name
            fi
        done
}

Thus, this...

Code:
        "txid" : "aca39f64e4f71f984b9693fe1dbd6dc9361162d94db10b1b814121cf3da44a9f",
        "time" : 1328894325

is replaced by....

Code:
"time" : 1328894325 = 2012-02-10 09:18:45 -0800

(The UTC offset is specific to your local system's time zone setting.)
Ente
Legendary
*
Offline Offline

Activity: 1834



View Profile
February 10, 2012, 08:28:54 PM
 #545

Still using GuiMiner, it throws:
Quote
2012-02-10 17:50:49: Miner "p2pool": 127.0.0.1:9332 10/02/2012 17:50:49, long poll: new block 000004f709b08c9c
2012-02-10 17:50:53: Miner "p2pool": 127.0.0.1:9332 10/02/2012 17:50:53, Unexpected error:
2012-02-10 17:51:03: Miner "p2pool": 127.0.0.1:9332 10/02/2012 17:51:03, Unexpected error:
2012-02-10 17:51:09: Miner "p2pool": 127.0.0.1:9332 10/02/2012 17:51:09, Unexpected error:
2012-02-10 17:51:10: Miner "p2pool": 127.0.0.1:9332 10/02/2012 17:51:10, long poll: new block 000004f709b08c9c
2012-02-10 17:51:16: Miner "p2pool": 127.0.0.1:9332 10/02/2012 17:51:16, long poll: new block 000004f709b08c9c
2012-02-10 17:51:18: Miner "p2pool": 127.0.0.1:9332 10/02/2012 17:51:18, long poll: new block 000004f709b08c9c

Any ideas?

Do all of the rigs have identical configurations? It looks like you're using poclbm as the backend.. Maybe try downloading the newest version of poclbm from https://github.com/m0mchil/poclbm/downloads and dropping it into GUIMiner's directory?

Now thats strange..
After rebooting all rigs, now all (0.8.1) p2pool instances seem to give/get work to guiminer. The rig with 0.8.3 is the only one with "unexpected error" with guiminer.
All 8 rigs have the same versions, configs, tools, everything is identical (except 0.8.1/0.8.3)

I try to get more info from poclbm/guiminer..

Ente

Wandering Albatross
Member
**
Offline Offline

Activity: 70



View Profile
February 10, 2012, 08:36:45 PM
 #546

Quote from: forrestv
P2Pool should listen on port 9332 on all interfaces. Is this a problem..? You mentioned just needing to connect external miners, which many people already do.

It's not a problem for me now, I modified main.py. I tried to add the diff to an issue for p2pool on github. I'm pretty sure that my diff got garbled on github. sorryboutthat I'm not githubish yet.

I have tested it and it does work.

BTC: 1JgPAC8RVeh7RXqzmeL8xt3fvYahRXL3fP
Wandering Albatross
Member
**
Offline Offline

Activity: 70



View Profile
February 10, 2012, 08:49:00 PM
 #547

Quote from: Syke
Here's a great command to list found blocks:
Code:
bitcoind listtransactions

It would be cool if bitcoind had a side-channel interface so that queries could be made while it was running.
Probably via http or ssh.

BTC: 1JgPAC8RVeh7RXqzmeL8xt3fvYahRXL3fP
rjk
Sr. Member
****
Offline Offline

Activity: 420


1ngldh


View Profile
February 10, 2012, 08:51:32 PM
 #548

Quote from: Syke
Here's a great command to list found blocks:
Code:
bitcoind listtransactions

It would be cool if bitcoind had a side-channel interface so that queries could be made while it was running.
Probably via http or ssh.
It does, just start a new instance in another command window with your desired arguments. They will be forwarded to the running bitcoind and the values returned to you.

Mining Rig Extraordinaire - the Trenton BPX6806 18-slot PCIe backplane [PICS] Dead project is dead, all hail the coming of the mighty ASIC!
Tittiez
Hero Member
*****
Offline Offline

Activity: 686



View Profile
February 10, 2012, 08:53:08 PM
 #549

I've been playing around with making a p2pool recent stats page.  It's not done yet, and the backend needs a lot of work, but it's done enough to give you an idea:

http://btcstats.net/p2pool/

  • Includes Recent pool hash rate and stale rate
  • Recent blocks are shown on the chart as vertical lines so that you can "see" variance
  • Recent blocks are also listed in a table with links to the details

That's really cool. Can we integrate a luck graph into there too'?
forrestv
Hero Member
*****
Offline Offline

Activity: 510


View Profile
February 10, 2012, 09:05:25 PM
 #550

After rebooting all rigs, now all (0.8.1) p2pool instances seem to give/get work to guiminer. The rig with 0.8.3 is the only one with "unexpected error" with guiminer.
All 8 rigs have the same versions, configs, tools, everything is identical (except 0.8.1/0.8.3)

Ah, thanks, that gave me enough information to find the (likely) problem - this commit: https://github.com/forrestv/p2pool/commit/d39081784f6 !

GUIminer doesn't use a real JSON parser, and that additional field might be confusing it.. Which backend are you using?

By the way, those releases are really old. There have been some important fixes since then.. Most people just use something recent from git master. I might get back into the habit of making releases soon, though.

1J1zegkNSbwX4smvTdoHSanUfwvXFeuV23
Ente
Legendary
*
Offline Offline

Activity: 1834



View Profile
February 10, 2012, 09:09:48 PM
 #551

Do you run P2Pool on each individual rig? If so, any reason why?

Yep, every rig has its own p2pool node.
My friend prefers to not be dependent on one machine's p2pool.

Talking about statistics: the probability that one p2pool from any of the rigs crashes is higher than if there is just one, (locally) centralized p2pool where all rigs connect to.. I'll talk him out of that next week :-)

I rolled back to 0.8.1 and that miner works now again.
The guiminer log only said "unexpected error" too.

I will have a second look next week, and maybe switch to cgminer etc anyway, and hopefully to one p2pool node where all rigs connect to too.

Ente
Ente
Legendary
*
Offline Offline

Activity: 1834



View Profile
February 10, 2012, 09:15:03 PM
 #552

Ah, thanks, that gave me enough information to find the (likely) problem - this commit: https://github.com/forrestv/p2pool/commit/d39081784f6 !

GUIminer doesn't use a real JSON parser, and that additional field might be confusing it.. Which backend are you using?

By the way, those releases are really old. There have been some important fixes since then.. Most people just use something recent from git master. I might get back into the habit of making releases soon, though.

Guiminer 2011-06-14
with poclbm "-f 100 -w 128 -v"
I see no obvious way to find out poclbm's version. If you wish to know that I have a second look.

edit:
Oh, I assumed both gid and the tar'ed version would be the same.. Good to know, I'll get the gid version then!
Maybe drop a note on that on the downloadpage? ;-)

Thank you for your help and all the time and energy you put in this!

Ente
forrestv
Hero Member
*****
Offline Offline

Activity: 510


View Profile
February 10, 2012, 09:26:31 PM
 #553

Ente: Here's a version with the submitold commit reverted: https://github.com/forrestv/p2pool/tarball/nosubmitold

Do you think you could test it to see if it fixes the problem?

EDIT: Also, does GUIMiner have any log files? There should be an additional message after the "Unexpected error" lines, but it's not there. Maybe it's appearing on the terminal or something?

1J1zegkNSbwX4smvTdoHSanUfwvXFeuV23
kano
Legendary
*
Offline Offline

Activity: 1918


Linux since 1997 RedHat 4


View Profile
February 10, 2012, 10:59:09 PM
 #554

I've been playing around with making a p2pool recent stats page.  It's not done yet, and the backend needs a lot of work, but it's done enough to give you an idea:

http://btcstats.net/p2pool/

  • Includes Recent pool hash rate and stale rate
  • Recent blocks are shown on the chart as vertical lines so that you can "see" variance
  • Recent blocks are also listed in a table with links to the details
Hmm nice.
I presume the lack of history can be overcome with help from forrestv?

Pool: https://kano.is BTC: 1KanoiBupPiZfkwqB7rfLXAzPnoTshAVmb
CKPool and CGMiner developer, IRC FreeNode #ckpool and #cgminer kanoi
Help keep Bitcoin secure by mining on pools with Stratum, the best protocol to mine Bitcoins with ASIC hardware
Wandering Albatross
Member
**
Offline Offline

Activity: 70



View Profile
February 10, 2012, 11:15:57 PM
 #555

Quote from: rjk
It does, just start a new instance in another command window with your desired arguments. They will be forwarded to the running bitcoind and the values returned to you.

Then it is cool. Works great.


BTC: 1JgPAC8RVeh7RXqzmeL8xt3fvYahRXL3fP
twmz
Hero Member
*****
Offline Offline

Activity: 737



View Profile
February 10, 2012, 11:37:30 PM
 #556

Hmm nice.
I presume the lack of history can be overcome with help from forrestv?

Yes, he gave me a database of old hashrate stats.  I just have to spend time getting it into my database.  We don't have old state rate data.  I'm not sure if stale rate over time is all that interesting though, so maybe it isn't important and should be replaced with something like # of active users over time.

I also want to look at luck, but I will admit that I don't yet know how I am going to calculate that with only the information I have.  But forrest's graph does it using this same data, so I probably just need to chat with him more and see what approach he is using.

I really need to also get a real backend for it because right now it is using the rrd files that the standard p2pool uses.  I'd like to move this to a real database on my web host instead of using the rrd files.

But tomorrow is my wife's birthday, so I don't know how much time I can reasonably spend on this over the weekend.  I'll probably squeeze a few hours in.

Was I helpful?  1TwmzX1wBxNF2qtAJRhdKmi2WyLZ5VHRs
WoT, GPG

Bitrated user: ewal.
kano
Legendary
*
Offline Offline

Activity: 1918


Linux since 1997 RedHat 4


View Profile
February 10, 2012, 11:56:43 PM
 #557

No hurry Smiley
Was just thinking out loud - but you already had thought of it anyway.

Pool: https://kano.is BTC: 1KanoiBupPiZfkwqB7rfLXAzPnoTshAVmb
CKPool and CGMiner developer, IRC FreeNode #ckpool and #cgminer kanoi
Help keep Bitcoin secure by mining on pools with Stratum, the best protocol to mine Bitcoins with ASIC hardware
ThiagoCMC
Legendary
*
Offline Offline

Activity: 1190


฿itcoin: Currency of Resistance!


View Profile WWW
February 11, 2012, 05:42:09 AM
 #558

Upgrading P2Pool node... 

Guys, when is the best time to upgrade P2Pool node?

I mean, is there any announcements of new P2Pool versions?! If yes, where?!

Now I have:

Code:
~/p2pool/run_p2pool.py --version
becb233

But, is this the version you guys are using?!

Thanks!
Thiago

Mercado Forex acessível para todos os Brasileiros que tenham Bitcoins! Cadastre-se hoje mesmo! Bastar acessar aqui: https://1broker.com/m/r.php?i=8879
miscreanity
Legendary
*
Offline Offline

Activity: 1078


View Profile
February 11, 2012, 06:27:00 AM
 #559

Code:
~/p2pool/run_p2pool.py --version
becb233

The current git pull is:
aa520c1
twmz
Hero Member
*****
Offline Offline

Activity: 737



View Profile
February 11, 2012, 07:08:30 AM
 #560



Ok, historical data from forrest is loaded.  It's interesting to see how quickly things have grown relative to how long the pool floated steadily at around 10-15 GH/s.


http://btcstats.net/p2pool/

  • Includes Recent pool hash rate and stale rate active users
  • Recent blocks are shown on the chart as vertical lines so that you can "see" variance
  • Recent blocks are also listed in a table with links to the details



Was I helpful?  1TwmzX1wBxNF2qtAJRhdKmi2WyLZ5VHRs
WoT, GPG

Bitrated user: ewal.
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 [28] 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 ... 744 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!