Bitcoin Forum
April 27, 2024, 03:07:08 AM *
News: Latest Bitcoin Core release: 27.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 »
  Print  
Author Topic: p2pool - Decentralized, Absolutely DoS-Proof, Pool Hopping-Proof Pool [archival]  (Read 35482 times)
EskimoBob
Legendary
*
Offline Offline

Activity: 910
Merit: 1000


Quality Printing Services by Federal Reserve Bank


View Profile
July 20, 2011, 03:34:05 PM
 #81

Testing now. This is really exciting for some odd reason Smiley
Let me ask this: If this is going to work, can we say "Cheerio, Pool Lords!" and forget all about the mining pools, pool-hopping etc?


While reading what I wrote, use the most friendliest and relaxing voice in your head.
BTW, Things in BTC bubble universes are getting ugly....
1714187228
Hero Member
*
Offline Offline

Posts: 1714187228

View Profile Personal Message (Offline)

Ignore
1714187228
Reply with quote  #2

1714187228
Report to moderator
1714187228
Hero Member
*
Offline Offline

Posts: 1714187228

View Profile Personal Message (Offline)

Ignore
1714187228
Reply with quote  #2

1714187228
Report to moderator
1714187228
Hero Member
*
Offline Offline

Posts: 1714187228

View Profile Personal Message (Offline)

Ignore
1714187228
Reply with quote  #2

1714187228
Report to moderator
Unlike traditional banking where clients have only a few account numbers, with Bitcoin people can create an unlimited number of accounts (addresses). This can be used to easily track payments, and it improves anonymity.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714187228
Hero Member
*
Offline Offline

Posts: 1714187228

View Profile Personal Message (Offline)

Ignore
1714187228
Reply with quote  #2

1714187228
Report to moderator
1714187228
Hero Member
*
Offline Offline

Posts: 1714187228

View Profile Personal Message (Offline)

Ignore
1714187228
Reply with quote  #2

1714187228
Report to moderator
1714187228
Hero Member
*
Offline Offline

Posts: 1714187228

View Profile Personal Message (Offline)

Ignore
1714187228
Reply with quote  #2

1714187228
Report to moderator
Meni Rosenfeld
Donator
Legendary
*
Offline Offline

Activity: 2058
Merit: 1054



View Profile WWW
July 20, 2011, 03:37:03 PM
 #82

Let me ask this: If this is going to work, can we say "Cheerio, Pool Lords!" and forget all about the mining pools, pool-hopping etc?
No, p2pool will probably be more suitable for large miners and normal pools than for at-home miners. But it will definitely help (eg, allow mining for a small pool without much variance).

1EofoZNBhWQ3kxfKnvWkhtMns4AivZArhr   |   Who am I?   |   bitcoin-otc WoT
Bitcoil - Exchange bitcoins for ILS (thread)   |   Israel Bitcoin community homepage (thread)
Analysis of Bitcoin Pooled Mining Reward Systems (thread, summary)  |   PureMining - Infinite-term, deterministic mining bond
BurningToad
Full Member
***
Offline Offline

Activity: 207
Merit: 100


View Profile
July 20, 2011, 03:37:03 PM
 #83

Testing now. This is really exciting for some odd reason Smiley
Let me ask this: If this is going to work, can we say "Cheerio, Pool Lords!" and forget all about the mining pools, pool-hopping etc?



I hope so... (and I run a pool!) Smiley

It also seems that I am the majority of the P2P pool at the moment, cmon, need more MH/s!

nanotube
Hero Member
*****
Offline Offline

Activity: 482
Merit: 501


View Profile WWW
July 20, 2011, 05:18:53 PM
 #84

Let me ask this: If this is going to work, can we say "Cheerio, Pool Lords!" and forget all about the mining pools, pool-hopping etc?
No, p2pool will probably be more suitable for large miners and normal pools than for at-home miners. But it will definitely help (eg, allow mining for a small pool without much variance).

there can be many p2pools of larger or smaller size... so if "the main p2pool" gets too big for small miners to see reliable payouts, smaller ones can bud off. so yes, i indeed can foresee that the p2pool framework will overtake centralized pools.

Join #bitcoin-market on freenode for real-time market updates.
Join #bitcoin-otc - an over-the-counter trading market. http://bitcoin-otc.com
OTC web of trust: http://bitcoin-otc.com/trust.php
My trust rating: http://bitcoin-otc.com/viewratingdetail.php?nick=nanotube
jgarzik
Legendary
*
Offline Offline

Activity: 1596
Merit: 1091


View Profile
July 20, 2011, 05:42:21 PM
 #85

I'm working on this on the wiki - http://wiki.bitcoin-otc.com/wiki/P2Pool.
Why is it on the bitcoin-otc wiki instead of the Bitcoin wiki?

Agreed, the main bitcoin wiki is what I had expected...


Jeff Garzik, Bloq CEO, former bitcoin core dev team; opinions are my own.
Visit bloq.com / metronome.io
Donations / tip jar: 1BrufViLKnSWtuWGkryPsKsxonV2NQ7Tcj
grue
Legendary
*
Offline Offline

Activity: 2058
Merit: 1431



View Profile
July 20, 2011, 05:56:44 PM
 #86

Quote
Myself, um, dude.

No pony sigs. kthx.
not sure if serious or joking

It is pitch black. You are likely to be eaten by a grue.

Adblock for annoying signature ads | Enhanced Merit UI
Meni Rosenfeld
Donator
Legendary
*
Offline Offline

Activity: 2058
Merit: 1054



View Profile WWW
July 20, 2011, 06:15:21 PM
 #87

Let me ask this: If this is going to work, can we say "Cheerio, Pool Lords!" and forget all about the mining pools, pool-hopping etc?
No, p2pool will probably be more suitable for large miners and normal pools than for at-home miners. But it will definitely help (eg, allow mining for a small pool without much variance).
there can be many p2pools of larger or smaller size... so if "the main p2pool" gets too big for small miners to see reliable payouts, smaller ones can bud off. so yes, i indeed can foresee that the p2pool framework will overtake centralized pools.
At the very least you'll need someone to run a full network node for you, since eventually it will probably be impossible at home. So he may as well act as a pool with monitoring features etc.

1EofoZNBhWQ3kxfKnvWkhtMns4AivZArhr   |   Who am I?   |   bitcoin-otc WoT
Bitcoil - Exchange bitcoins for ILS (thread)   |   Israel Bitcoin community homepage (thread)
Analysis of Bitcoin Pooled Mining Reward Systems (thread, summary)  |   PureMining - Infinite-term, deterministic mining bond
twmz
Hero Member
*****
Offline Offline

Activity: 737
Merit: 500



View Profile
July 20, 2011, 06:45:25 PM
 #88

I tried this last night and didn't have much success.  Here is the sequence I saw a couple times before I gave up:

* Start local bitcoind
* Startup p2pool python code with the user and password to the local bitcoind and with the -a parameter to specify an address from my real wallet (the local bitcoind does not have my real wallet and I don't want it to hold funds since it is not secured)
* Start poclbm miner (up to date from git)
* poclbm starts mining ok initially
* At some point, in the p2pool kind of goes insane and there is a long flurry of back to back messages about "generating".
* At about the same point or slightly after, the miner starts reporting RPC problems.  'getwork' requests are timing out and not returning.  Restarting the miner does not help.
* The "generating" flurry stops and the output of p2pool goes back to normally looking debug spam, but the miner never seems to be able to 'getwork' again and is stuck.
* Restarting p2pool makes things start working again for another minute or two

I apologize that I don't have the actual output because I didn't save it.  If this is not a known problem and isn't happening to others, let me know, and I can try it again later and capture the verbose output of both the miner and of p2pool.


Was I helpful?  1TwmzX1wBxNF2qtAJRhdKmi2WyLZ5VHRs
WoT, GPG

Bitrated user: ewal.
Shevek
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250



View Profile
July 20, 2011, 07:02:10 PM
 #89

(...)
* poclbm starts mining ok initially
* At some point, in the p2pool kind of goes insane and there is a long flurry of back to back messages about "generating".


poclbm had a bug past night dealing with new difficulty. Try again with fresh poclbm and fresh p2pool. BTW, forrestv said that launching the program with python -O saves a lot of output.

Proposals for improving bitcoin are like asses: everybody has one
1SheveKuPHpzpLqSvPSavik9wnC51voBa
burp
Member
**
Offline Offline

Activity: 98
Merit: 10


View Profile
July 20, 2011, 07:26:23 PM
 #90

Um, p2pool has 100% cpu usage for me. Anyone else? Sad

And right now I get spammed with

Code:
end generate_transaction
start generate_transaction
end generate_transaction
start generate_transaction
end generate_transaction
start generate_transaction
messages...
EskimoBob
Legendary
*
Offline Offline

Activity: 910
Merit: 1000


Quality Printing Services by Federal Reserve Bank


View Profile
July 20, 2011, 07:31:39 PM
 #91

Um, p2pool has 100% cpu usage for me. Anyone else? Sad

And right now I get spammed with

Code:
end generate_transaction
start generate_transaction
end generate_transaction
start generate_transaction
end generate_transaction
start generate_transaction
messages...


Use: python -O run_p2pool.py username password

While reading what I wrote, use the most friendliest and relaxing voice in your head.
BTW, Things in BTC bubble universes are getting ugly....
burp
Member
**
Offline Offline

Activity: 98
Merit: 10


View Profile
July 20, 2011, 07:39:55 PM
 #92

Um, p2pool has 100% cpu usage for me. Anyone else? Sad

And right now I get spammed with

Code:
end generate_transaction
start generate_transaction
end generate_transaction
start generate_transaction
end generate_transaction
start generate_transaction
messages...


Use: python -O run_p2pool.py username password


This doesn't help with the cpu usage problem. Also p2pool eats more and more memory. I stopped it at 600MB now. It didn't  even react to SIGINT anymore and I had to SIGKILL it.
twmz
Hero Member
*****
Offline Offline

Activity: 737
Merit: 500



View Profile
July 20, 2011, 07:55:34 PM
 #93

Update:  

I just tried it again now and had the same problem.  In particular, I noticed errors about requests to bitcoind (http://127.0.0.1:8332) timing out (getwork requests and getting tx details, if I recall).

I was running this version of bitcoind: https://github.com/forrestv/bitcoin/tree/getrawtransaction because I thought it would be beneficial to have the rawtransaction support (side note: isn't our mining kind of useless to the network if we never include other people's transactions in our found blocks?  maybe I am misunderstanding the functionality added when getrawtransaction is present).

In any case, I tried switching to the officiall 0.3.24 release version of bitcoind and all of the problems went away.  The timeout messages are gone and my miner is now reliably mining and finding shares.

Was I helpful?  1TwmzX1wBxNF2qtAJRhdKmi2WyLZ5VHRs
WoT, GPG

Bitrated user: ewal.
jgarzik
Legendary
*
Offline Offline

Activity: 1596
Merit: 1091


View Profile
July 20, 2011, 09:14:39 PM
 #94

Where does p2pool get its transaction details, in order to rebuild the merkle tree with a new coinbase + block header?

That is not clear to me, from either this thread or the wiki.

A better technical description would be greatly appreciated.


Jeff Garzik, Bloq CEO, former bitcoin core dev team; opinions are my own.
Visit bloq.com / metronome.io
Donations / tip jar: 1BrufViLKnSWtuWGkryPsKsxonV2NQ7Tcj
Shevek
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250



View Profile
July 20, 2011, 09:22:25 PM
 #95

Following instructions at http://wiki.bitcoin-otc.com/wiki/P2Pool (Downloaded from Git repository), I start bitcoind (latest Linux version) and when starting p2pool, I get an error -10. What does that mean?

netstat -a shows that bitcoind is listening on ports 8332 and 8333.


Sometimes I've got strange errors when I launched p2pool quick after bitcoind. If this is your case, simply wait a couple of minutes.

Proposals for improving bitcoin are like asses: everybody has one
1SheveKuPHpzpLqSvPSavik9wnC51voBa
Shevek
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250



View Profile
July 20, 2011, 09:59:46 PM
 #96

Sometimes I've got strange errors when I launched p2pool quick after bitcoind. If this is your case, simply wait a couple of minutes.

Okay, that doesn't seem to make a difference here. P2Pool fails consistently in main.py, line 31 (getwork). I can telnet to localhost:8332 just fine. I've also setup port forwarding and firewall rules for ports 8333 and 9333 in router and local machine.


Sorry for the trivial advice but... did you set server=1 in your bitcoin.conf?

Proposals for improving bitcoin are like asses: everybody has one
1SheveKuPHpzpLqSvPSavik9wnC51voBa
twmz
Hero Member
*****
Offline Offline

Activity: 737
Merit: 500



View Profile
July 20, 2011, 10:09:26 PM
 #97

Is there a known problem with poclbm (latest git) not checking the actual target of a getwork?  I don't see error messages about submitted shares being rejected for not being below the target, but I am also finding shares about the same rate as I do normal pool serving up exclusivly difficulty 1 shares.  I can clearly see in my proxy logs that the difficulty coming back in getwork requests is not 1. And I can see that the shares being found are are getworks with higher than difficulty 1 targets. The average difficulty of of the getworks associated with found shares over the past couple hours has been 3.  But I have found the same number of shares as I do when mining exclusively at difficulty 1.  Something doesn't seem right.

Was I helpful?  1TwmzX1wBxNF2qtAJRhdKmi2WyLZ5VHRs
WoT, GPG

Bitrated user: ewal.
twmz
Hero Member
*****
Offline Offline

Activity: 737
Merit: 500



View Profile
July 21, 2011, 02:11:27 AM
 #98

Is there a known problem with poclbm (latest git) not checking the actual target of a getwork?

Ok, I have confirmed that poclbm will happily submit shares that don't meat the target requirements.  This explains the shares/hour being identical to past experience even though share difficulty is 3-4x higher with p2pool.

My next question is does p2pool correctly reject these shares?  I can tell that p2pool never tells the miner they are rejected (the "result" of the share submission is always "1" (true)), but there may be some place else in the p2pool code that notices the hash does not meet the target requirements.  I'm not that good at reading python code, so I can't tell by looking.

Was I helpful?  1TwmzX1wBxNF2qtAJRhdKmi2WyLZ5VHRs
WoT, GPG

Bitrated user: ewal.
forrestv
Hero Member
*****
Offline Offline

Activity: 516
Merit: 643


View Profile
July 21, 2011, 04:09:39 AM
 #99

* The "generating" flurry stops and the output of p2pool goes back to normally looking debug spam, but the miner never seems to be able to 'getwork' again and is stuck.
* Restarting p2pool makes things start working again for another minute or two
Um, p2pool has 100% cpu usage for me. Anyone else? Sad

If it's using a large amount of CPU, it's validating the sharechain, which currently can take a few minutes and a lot of memory. I'm going to change this to be more verbose and more efficient.

Where does p2pool get its transaction details, in order to rebuild the merkle tree with a new coinbase + block header?

It listens for transactions being broadcast from the local bitcoind via its P2P interface.

1J1zegkNSbwX4smvTdoHSanUfwvXFeuV23
Un zafado cualquiera
Full Member
***
Offline Offline

Activity: 158
Merit: 100


aquí dice algo personal.


View Profile
July 21, 2011, 04:37:20 AM
 #100

Test in progress. good luck everyone.
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 »
  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!