Bitcoin Forum
November 16, 2024, 10:06:47 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
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 ... 814 »
  Print  
Author Topic: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool  (Read 2591900 times)
ThiagoCMC
Legendary
*
Offline Offline

Activity: 1204
Merit: 1000

฿itcoin: Currency of Resistance!


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

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
Proofer
Member
**
Offline Offline

Activity: 266
Merit: 36


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

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: 2126
Merit: 1001



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

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
Merit: 10



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

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
Merit: 10



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

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: 448
Merit: 250


1ngldh


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

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
Merit: 500



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

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 (OP)
Hero Member
*****
Offline Offline

Activity: 516
Merit: 643


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

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: 2126
Merit: 1001



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

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: 2126
Merit: 1001



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

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 (OP)
Hero Member
*****
Offline Offline

Activity: 516
Merit: 643


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

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: 4620
Merit: 1851


Linux since 1997 RedHat 4


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

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 - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
Wandering Albatross
Member
**
Offline Offline

Activity: 70
Merit: 10



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

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
Merit: 500



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

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: 4620
Merit: 1851


Linux since 1997 RedHat 4


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

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

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
ThiagoCMC
Legendary
*
Offline Offline

Activity: 1204
Merit: 1000

฿itcoin: Currency of Resistance!


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

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
miscreanity
Legendary
*
Offline Offline

Activity: 1316
Merit: 1005


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

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

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

Activity: 737
Merit: 500



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



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.
Ente
Legendary
*
Offline Offline

Activity: 2126
Merit: 1001



View Profile
February 11, 2012, 09:28:30 AM
 #559

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?

Good morning,

I tested the "new old" version you linked. It works, connects faster and all, but the (guiminer) error still persists.
Still, the guiminer "console" says "unexpected error:", and thats all it says in its logfile too (in guiminer.log and guiminer.exe.log).

I'll experiment a bit with connecting (different) guiminer instances to (different) p2pool nodes to find out which one causes trouble here..

Ente
Ente
Legendary
*
Offline Offline

Activity: 2126
Merit: 1001



View Profile
February 11, 2012, 11:42:22 AM
Last edit: February 11, 2012, 06:50:40 PM by Ente
 #560

It gets more and more strange..

Rig "Miner04" uses forrestv-p2pool-0.8.4-1-gadba786
Rig "Miner03" uses forrestv-p2pool-release-0.8.1-0-gc7feb00

Rig "Miner04" uses Guiminer v2011-06-14
Rig "Miner03" uses Guiminer v2011-06-14

Guiminer "Miner03" --> p2pool "Miner03": finds "minerblocks" and "shareblocks"
Guiminer "Miner04" --> p2pool "Miner04": drops "unexpected error:" in guiminer
Guiminer "Miner03" --> p2pool "Miner04": finds "minerblocks" with 100% in (), finds "shareblocks"
Guiminer "Miner04" --> p2pool "Miner03": finds "minerblocks" with 50% in (), finds no "shareblocks"

So obviously its some problem on Guiminer's (or poclbm) side on "Miner04".

In Guiminer you see for example:
Quote
Accepted: 471 (256)
Stale: 0 (0)
I didnt find out what the number in () means, yet.

All other rigs are like "Miner03" and behave well.

Bah, I'm losing my patience with this windows stuff..

Ente

edits underlined
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 ... 814 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!