Bitcoin Forum
December 08, 2016, 10:14:12 AM *
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 »
  Print  
Author Topic: p2pool - Decentralized, Absolutely DoS-Proof, Pool Hopping-Proof Pool [archival]  (Read 31700 times)
dirtycat
Sr. Member
****
Offline Offline

Activity: 455



View Profile
January 18, 2012, 06:30:07 PM
 #441

wow looks like we are up to 100 ghs! and I got 11 peers! woohoo!!

poop!
1481192052
Hero Member
*
Offline Offline

Posts: 1481192052

View Profile Personal Message (Offline)

Ignore
1481192052
Reply with quote  #2

1481192052
Report to moderator
1481192052
Hero Member
*
Offline Offline

Posts: 1481192052

View Profile Personal Message (Offline)

Ignore
1481192052
Reply with quote  #2

1481192052
Report to moderator
1481192052
Hero Member
*
Offline Offline

Posts: 1481192052

View Profile Personal Message (Offline)

Ignore
1481192052
Reply with quote  #2

1481192052
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481192052
Hero Member
*
Offline Offline

Posts: 1481192052

View Profile Personal Message (Offline)

Ignore
1481192052
Reply with quote  #2

1481192052
Report to moderator
btc_artist
Full Member
***
Offline Offline

Activity: 154


Bitcoin!


View Profile WWW
January 18, 2012, 06:44:28 PM
 #442

It would be really cool if this were integrated directly into cgminer.  forrestv what do you think of that?  Have you had any dialog with ckolivas at all?  

I worked a bit with him to get cgminer and P2Pool working well together. I don't know how useful that would be... A lot of people have multiple machines running cgminer and one P2Pool instance. Why do you want it integrated? I'd think some kind of monitoring tool that started P2Pool and cgminer might be better.
I was thinking it would be nice to just be able to download one program, set your payout address and run it to start mining on P2Pool.

But now that you mention it and I think about it, I'm ok with installing 3 programs (bitcoind, cgminer, p2pool). Like you mention, a monitoring tool that would start and monitor all 3 programs would be nice.

BTC: 1CDCLDBHbAzHyYUkk1wYHPYmrtDZNhk8zf
LTC: LMS7SqZJnqzxo76iDSEua33WCyYZdjaQoE
Brunic
Hero Member
*****
Offline Offline

Activity: 633



View Profile
January 18, 2012, 07:20:01 PM
 #443

Can p2pool have an option or something to show which IP is hashing?

I'm moving all my farm to p2pool(12 computers, around 11 GHash), and right now, I'm looking for a solution to know if a worker is working or not from one central point. Usually, on a pool, it tells you which worker is online, but didn't find anything like that for p2pool.
c_k
Donator
Sr. Member
*
Offline Offline

Activity: 242



View Profile
January 18, 2012, 07:49:24 PM
 #444

Can p2pool have an option or something to show which IP is hashing?

I'm moving all my farm to p2pool(12 computers, around 11 GHash), and right now, I'm looking for a solution to know if a worker is working or not from one central point. Usually, on a pool, it tells you which worker is online, but didn't find anything like that for p2pool.

cgminer now has an RPC interface for polling each miner Smiley

https://bitcointalk.org/index.php?topic=28402

PS: welcome to the pool!  Cheesy

Turbor
Legendary
*
Offline Offline

Activity: 1008


BitMinter


View Profile WWW
January 18, 2012, 10:26:49 PM
 #445

What's happening here? Woke up today and this is what P2Pool looks like.



Edit: Restarted P2Pool and now it's reporting the correct hash rate, the correct difficulty, and the correct payout if block.

Strange, i have the same thing going on. One PC shows the correct rate, the other one is stuck at 77 somewhat GH/s. P2Pool restart wont help. Share count wont go up.  Huh Hashing seems to work.

forrestv
Hero Member
*****
Offline Offline

Activity: 510


View Profile
January 18, 2012, 10:51:35 PM
 #446

This is a new problem with P2Pool that I'm trying to figure out now... Anyone who is having the problem: Restart P2Pool with the --debug flag. If the problem persists, it'd be very useful to me if you sent me P2Pool's log file (in data/bitcoin/log)!

1J1zegkNSbwX4smvTdoHSanUfwvXFeuV23
Brunic
Hero Member
*****
Offline Offline

Activity: 633



View Profile
January 19, 2012, 05:35:53 AM
 #447

Finally! Had some problems with some rigs, but right now, p2pool have 11 GHash/s more!  Grin

I had some questions about the output, to be sure I understand well how all this work.
So
Code:
Pool: 90000MHash/s in 17500 shares (16000/17000 verified)

-I suppose the MHash number is the actual strength of p2pool.
-In x shares, i suppose it is the total number of recent shares used for PPLNS.
-What (16000/17000) verified means?

Code:
Recent: 9.00% > 9000MHash/s

What is it actually? I believe it is my part of the valid shares in the network, but I'm really not sure. Because my payment currently show 2.7 BTC next block, but if I have 9%, is it not supposed to be higher?
rahl
Full Member
***
Offline Offline

Activity: 140



View Profile
January 19, 2012, 06:20:24 AM
 #448

I am using this for litecoin and just updated it to newer version it doesn't seem to want to connect.

start /MIN run_p2pool.exe urs pwd --net litecoin -a litecoinaddr --p2pool-port 9332 -w 9334
cd C:\Program Files (x86)\Bitcoin\Litecoin\litecoin-windows-miner-10-10-2011
start /MIN /LOW /AFFINITY E minerd.exe --algo scrypt --s 6 --threads 2 --retries -1 --url http://127.0.0.1:9334 --userpass urs:pwd

It starts up without errors. Goes to have 1000/1000 blocks and after like 10 minutes it starts saying lost connection to bitcoind for 60 seconds. Miner is giving me p2ppool not connected to any peers.

It worked fine in the older version just before so this is puzzling.

broken
Jr. Member
*
Offline Offline

Activity: 56


View Profile
January 19, 2012, 08:13:42 AM
 #449

Finally! Had some problems with some rigs, but right now, p2pool have 11 GHash/s more!  Grin

I had some questions about the output, to be sure I understand well how all this work.
So
Code:
Pool: 90000MHash/s in 17500 shares (16000/17000 verified)

-I suppose the MHash number is the actual strength of p2pool.
-In x shares, i suppose it is the total number of recent shares used for PPLNS.
-What (16000/17000) verified means?

Code:
Recent: 9.00% > 9000MHash/s

What is it actually? I believe it is my part of the valid shares in the network, but I'm really not sure. Because my payment currently show 2.7 BTC next block, but if I have 9%, is it not supposed to be higher?

The payout is calculated by the shares of the last 24h ( about 8640 shares ). To verify even the 24h old shares, the pool keeps the shares of the last 48h. Your client verified 16000 of those from the last 48h (about 17000 shares).

The recent hashrate is calculated by the shares submitted only in the last 2h ( I think), which was about 9% of the overall hasrate in your case.

The payment for the next block stat tells you what you will get if a block will be found right now. This number will of course grow if you continue to mine.
Turbor
Legendary
*
Offline Offline

Activity: 1008


BitMinter


View Profile WWW
January 19, 2012, 11:54:11 AM
 #450

I like the concept of p2pool but there are two things not working for me. First; i can't use Bitcoin QT anymore because it will crash after some time. If i want to check on things i have to interrupt mining. Second issue; if i want to use pool rotation with cgminer p2pool goes wild. Switching to an other pool is no big problem but return is harsh. Not sure why ? I like this option because you can share your hashrate equally with pools you like to lower payout variance. If i only mine for p2pool there is no problem.

broken
Jr. Member
*
Offline Offline

Activity: 56


View Profile
January 19, 2012, 12:16:20 PM
 #451

I like the concept of p2pool but there are two things not working for me. First; i can't use Bitcoin QT anymore because it will crash after some time. If i want to check on things i have to interrupt mining.

Why do you have to interrupt mining? You can check everything in bitcoind from command line.
Or you could run bitcoin_qt on a different computer and configure p2pool with an address from the other wallet.

What I did:
I wrote a private webpage that gets information from bitcoind, p2pool and miners (cgminer) via json rpc and some bash scripts.
Also I get an email to my android phone whenever p2pool finds a block Smiley
slush
Legendary
*
Offline Offline

Activity: 1358



View Profile WWW
January 19, 2012, 02:21:05 PM
 #452

I have maybe stupid question. I understand that P2Pool uses alternate blockchain to keep track of partially solved blocks in the network, which is used for accounting "shares" and paying the reward to the miners, right?

But who picks transactions into block? And who check if transactions are valid, so miner in P2Pool is providing useful work (work which can be accepted by bitcoin network)? Does P2Pool address and solve this problem somehow?

What happen when Bitcoin network start to accepting OP_EVAL or P2SH, but miners in the P2Pool don't update their miners? As I understand correctly, they'll be still providing "shares" to the P2Pool, but if they really solve the block, it will be eventually rejected by the Bitcoin network. But afaik P2Pool blockchain is storing prevhashes, so maybe P2Pool blockchain will be split into two separate chains when split in the transaction rules happen?

broken
Jr. Member
*
Offline Offline

Activity: 56


View Profile
January 19, 2012, 02:47:07 PM
 #453

I understand that P2Pool uses alternate blockchain to keep track of partially solved blocks in the network, which is used for accounting "shares" and paying the reward to the miners, right?
right!

But who picks transactions into block? And who check if transactions are valid, so miner in P2Pool is providing useful work (work which can be accepted by bitcoin network)? Does P2Pool address and solve this problem somehow?
As far as I understand it, every p2pool client looks for new transactions on the bitcoin network. The miner who finds a share includes new transactions to the p2pool blockchain. The other nodes check if the p2pool-block is valid by verifing the difficulty, the reference to the previous p2pool block and the including transactions. The other nodes don't need to know about the transaction prior to this ( via the bitcoin network).
I dont know if this is done already, but the transactions received over the p2pool net could be relayed to the bitcoin network and so stregthen the network.
Please correct me if this is wrong.

What happen when Bitcoin network start to accepting OP_EVAL or P2SH, but miners in the P2Pool don't update their miners? As I understand correctly, they'll be still providing "shares" to the P2Pool, but if they really solve the block, it will be eventually rejected by the Bitcoin network. But afaik P2Pool blockchain is storing prevhashes, so maybe P2Pool blockchain will be split into two separate chains when split in the transaction rules happen?
I don't know well enough, how p2pool handles chain splits , but ideally there should be a chain split.
slush
Legendary
*
Offline Offline

Activity: 1358



View Profile WWW
January 19, 2012, 02:55:22 PM
 #454

The other nodes check if the p2pool-block is valid by verifing the difficulty, the reference to the previous p2pool block and the including transactions.

Thanks for the response! So P2Pool chain contains ALL bitcoin transactions? What happen if one P2Pool miner include transaction which does not fit the rules of other P2Pool participants? OP_EVAL is the good example.

BusmasterDMA
Member
**
Offline Offline

Activity: 118



View Profile
January 19, 2012, 03:08:27 PM
 #455

I'm wondering if anyone could give me a pointer.  Everything seems to be working, p2pool is running, miners are hashing, yet no shares seem to be accepted.

p2pool:
Code:
10:02:42.418000 New work for worker! Difficulty: 185.041361 Payout if block: 0.0
05912 BTC Total block value: 50.027310 BTC including 50 transactions
10:02:43.444000 Pool: 98423MH/s in 17418 shares (18014/34711 verified) Recent: 0
.00% >0H/s Shares: 0 (0 orphan, 0 dead) Peers: 10
10:02:43.444000 Average time between blocks: 0.63 days
10:02:43.445000 Pool stales: 15%
10:02:44.161000 New work for worker! Difficulty: 191.408557 Payout if block: 0.0
06115 BTC Total block value: 50.027310 BTC including 50 transactions
10:02:46.450000 Pool: 99337MH/s in 17419 shares (18015/34712 verified) Recent: 0
.00% >0H/s Shares: 0 (0 orphan, 0 dead) Peers: 10
10:02:46.451000 Average time between blocks: 0.63 days
10:02:46.451000 Pool stales: 15%
10:02:55.466000 Pool: 99337MH/s in 17419 shares (18016/34712 verified) Recent: 0
.00% >0H/s Shares: 0 (0 orphan, 0 dead) Peers: 10
10:02:55.467000 Average time between blocks: 0.63 days
10:02:55.467000 Pool stales: 15%
10:02:55.974000 New work for worker! Difficulty: 185.966414 Payout if block: 0.0
05941 BTC Total block value: 50.027310 BTC including 50 transactions
10:02:58.472000 Pool: 98976MH/s in 17420 shares (18017/34713 verified) Recent: 0
.00% >0H/s Shares: 0 (0 orphan, 0 dead) Peers: 10
10:02:58.473000 Average time between blocks: 0.63 days
10:02:58.473000 Pool stales: 15%
10:03:07.488000 Pool: 98976MH/s in 17420 shares (18018/34713 verified) Recent: 0
.00% >0H/s Shares: 0 (0 orphan, 0 dead) Peers: 10
10:03:07.489000 Average time between blocks: 0.63 days
10:03:07.489000 Pool stales: 15%

Output from ufasoft miner:
Code:
>bitcoin-miner -o http://USER:PASS@127.0.0.1:9332/ -t 14 -g no -v --algo sse2_64
bitcoin-miner 0.13  Copyright (c) 2011 Ufasoft  http://ufasoft.com/open/bitcoin
Mining for http://USER:PASS@127.0.0.1:9332/
14 threads      Using SSE2
22.2 MHash/s
Also similar results from Phoenix miner.

Thank you.

Bears.  Beets.  Battlestar Galactica.  Bitcoin.
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218


Gerald Davis


View Profile
January 19, 2012, 03:23:02 PM
 #456

I have maybe stupid question. I understand that P2Pool uses alternate blockchain to keep track of partially solved blocks in the network, which is used for accounting "shares" and paying the reward to the miners, right?

well there is no such thing as partially solved.  hashes which meet difficulty target for p2pool but don't solve the block are a share.  Much like any other pool except p2pool uses a variable difficulty.  Currently difficulty of a share is ~190.  (Difficulty ~= 2.328 * GH/s but it is based on prior share times so it reacts slowly).

Quote
But who picks transactions into block? And who check if transactions are valid, so miner in P2Pool is providing useful work (work which can be accepted by bitcoin network)? Does P2Pool address and solve this problem somehow?

Each user's local bitcoind.  No different than solo mining except the coinbase has the addresses which match the "share chain" to provide proper split of credit.

As far as a malicious user producing an invalid block well that is possible but it is no worse than block witholding that a malicious can do in a normal pool

Quote
What happen when Bitcoin network start to accepting OP_EVAL or P2SH, but miners in the P2Pool don't update their miners? As I understand correctly, they'll be still providing "shares" to the P2Pool, but if they really solve the block, it will be eventually rejected by the Bitcoin network.

Blocks wouldn't be rejected.  If the bitcoind is out of date it will see p2sh transactions as invalid and not include them.  The block produced would still be valid much like mining a completely empty (except coinbase) block is valid now.
gnar1ta$
Donator
Hero Member
*
Offline Offline

Activity: 756


View Profile
January 19, 2012, 03:48:14 PM
 #457

What I did:
I wrote a private webpage that gets information from bitcoind, p2pool and miners (cgminer) via json rpc and some bash scripts.
Also I get an email to my android phone whenever p2pool finds a block Smiley

How do I get something like this?  I have remote rigs in an area prone to power outages and usually rely on pool miner idle alerts for status, which I don't have with p2pool.

Losing hundreds of Bitcoins with the best scammers in the business - BFL, Avalon, KNC, HashFast.
broken
Jr. Member
*
Offline Offline

Activity: 56


View Profile
January 19, 2012, 03:50:31 PM
 #458

@ BusmasterDMA

with current pool difficulty 190 and your hashrate of 22MH/s it takes about 12 hours to solve one share.
BusmasterDMA
Member
**
Offline Offline

Activity: 118



View Profile
January 19, 2012, 04:00:10 PM
 #459

@ BusmasterDMA

with current pool difficulty 190 and your hashrate of 22MH/s it takes about 12 hours to solve one share.

Thank you.  So with a GPU hashing at 400MH/s should I expect to see a share per ~0.6hr?  I assume one share in this pool is not equivalent to a share in another pool such as Eligius, correct?  I should still expect a similar payout over time though, even though the rate of shares is not the same?

Bears.  Beets.  Battlestar Galactica.  Bitcoin.
eleuthria
Legendary
*
Offline Offline

Activity: 1750


BTC Guild Owner


View Profile WWW
January 19, 2012, 04:08:18 PM
 #460

@ BusmasterDMA

with current pool difficulty 190 and your hashrate of 22MH/s it takes about 12 hours to solve one share.

Thank you.  So with a GPU hashing at 400MH/s should I expect to see a share per ~0.6hr?  I assume one share in this pool is not equivalent to a share in another pool such as Eligius, correct?  I should still expect a similar payout over time though, even though the rate of shares is not the same?

Correct, each share with p2pool is equivalent to 190 shares at a regular pool currently.  Over the long run, you should see a similar payout, but it will involve higher variance.  You may see extremely high payouts if you get lucky on a share in a short p2pool round, or you may get no payout because you couldn't produce a diff-190 share during the round.

R.I.P. BTC Guild, 2011 - 2015.
BTC Guild Forum Thread
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 »
  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!