• Forum has been upgraded, all links, images, etc are as they were. Please see Official Announcements for more information

P2Pool P2Pool repository and python modules

thelazier, well we have ~550MH/s => who update.
And 760MH/s => who not update. Can u help to "ping" p2pool owners to update?
poiuty , well, we did good job for only 3 days to gain about 40% Hashrate to update. :)
I don't know other owners to ping as well. (just check the biggest target , http://178.236.137.238:7903/static/ , you may know who SkyLabSD is)..
How about we create a new pinned thread to replace this thread with most updated information on 1st post ?
...It seems vertoe is not around anymore. Here is the new official minimally maintained p2pool repository for Dash:...
 
2015-08-17 10:57:21.045111 Unneeded inv type {'type': 'masternode_ping', 'hash': 112987251281371961276372999960433999105325515284761691216663096141898461268702L}
2015-08-17 10:57:21.267750 Unneeded inv type {'type': 'masternode_ping', 'hash': 21359636237550357716400303501052467506551198540518964945746995258351142565847L}
2015-08-17 10:57:21.466671 Unneeded inv type {'type': 'masternode_ping', 'hash': 26230512626319159898480642966228455165529653255993997493338000240773439224684L}
2015-08-17 10:57:21.842681 Unneeded inv type {'type': 'masternode_ping', 'hash': 92413042877064682787296728896259181752450340304172428851803805828800366748099L}
2015-08-17 10:57:22.159859 Unneeded inv type {'type': 'masternode_ping', 'hash': 92708001124313041307979914160020739954302278358649773050589729501648210927467L}
 
2015-08-17 10:57:21.045111 Unneeded inv type {'type': 'masternode_ping', 'hash': 112987251281371961276372999960433999105325515284761691216663096141898461268702L}
2015-08-17 10:57:21.267750 Unneeded inv type {'type': 'masternode_ping', 'hash': 21359636237550357716400303501052467506551198540518964945746995258351142565847L}
2015-08-17 10:57:21.466671 Unneeded inv type {'type': 'masternode_ping', 'hash': 26230512626319159898480642966228455165529653255993997493338000240773439224684L}
2015-08-17 10:57:21.842681 Unneeded inv type {'type': 'masternode_ping', 'hash': 92413042877064682787296728896259181752450340304172428851803805828800366748099L}
2015-08-17 10:57:22.159859 Unneeded inv type {'type': 'masternode_ping', 'hash': 92708001124313041307979914160020739954302278358649773050589729501648210927467L}
https://github.com/dashpay/p2pool-dash/commit/c5282cac7500cc955e06a5c7503c37a64c5f6032
 
Code:
(from dashd) EXCEPTION: St12out_of_range CInv::GetCommand() : type=15 unknown type dash in ProcessMessages()
need fix it
 
Code:
(from dashd) EXCEPTION: St12out_of_range CInv::GetCommand() : type=15 unknown type dash in ProcessMessages()
need fix it
https://github.com/dashpay/dash/blob/v0.12.0.x/src/protocol.h#L162
16: "dstx"?

Also I'm not sure how all these stuffs are used but I'm a bit woried about https://github.com/dashpay/p2pool-d...c7503c37a64c5f6032/p2pool/dash/p2p.py#L72-L80 and similar pieces of code: `txlock_request` is IX tx (structured completely the same way) and `dstx` is `tx`+`some additional data`. I'm not sure but maybe they must be parsed and participate in verifications/process of building blocks too. Can you guys have a look pls?
 
https://github.com/dashpay/dash/blob/v0.12.0.x/src/protocol.h#L162
16: "dstx"?

Also I'm not sure how all these stuffs are used but I'm a bit woried about https://github.com/dashpay/p2pool-d...c7503c37a64c5f6032/p2pool/dash/p2p.py#L72-L80 and similar pieces of code: `txlock_request` is IX tx (structured completely the same way) and `dstx` is `tx`+`some additional data`. I'm not sure but maybe they must be parsed and participate in verifications/process of building blocks too. Can you guys have a look pls?
With my poor knowledge of python, I agree with update list of message_inv for "dstx" : https://github.com/dashpay/p2pool-dash/pull/21
For parsing the dstx and ix, we may not need this since current p2pool is not create block by itself (getwork+tx) , it's using getblocktemplate which is already has tx ,dstx and ix included by wallet. (update block template at least every 15 sec and triggered by new block).
Please correct me if I'm misunderstood.
 
So I tried starting my own P2pool miner last night, but there hasn't been a payment in 18 hours, is this simply because we don't have much hash at the moment? Until I get a payment, I can't tell if I'm set up properly ;P

Edit: I got two payments, so I guess that means it worked! Thanks for maintaining this, it feels good to at least support mining in my own little way without needing a centralized pool :)
 
Last edited by a moderator:
So I tried starting my own P2pool miner last night, but there hasn't been a payment in 18 hours, is this simply because we don't have much hash at the moment? Until I get a payment, I can't tell if I'm set up properly ;P

Edit: I got two payments, so I guess that means it worked! Thanks for maintaining this, it feels good to at least support mining in my own little way without needing a centralized pool :)

p2pool needs at least 24h 'run up time' to get to max payments.
It's PPLNS payout system, and payment is done only on block found, so the variance is higher that with regular pools (you can have 1 payment / day, or 20 /day, depending on 'luck' ).
 
Yah, and it was just my luck to have my first payment take over 18 hours, LOL. Thanks Frog, I've always piggybacked on somone elses P2pool, so I know a little bit, but this is the first time I set it up on my machine ;P I kinda got one of those accomplishment felings, warm fuzzy - pat on the back- kinda thing, LOL.
 
When i run p2pool i got these errors..
Please help me.

2015-11-09 02:13:02.669000 P2Pool: 8699 shares in chain (4975 verified/8703 total) Peers: 6 (0 incoming)
2015-11-09 02:13:02.670000 Local: 1978kH/s in last 10.0 minutes Local dead on arrival: ~0.0% (0-2%) Expected time to share: 19.9 minutes
2015-11-09 02:13:02.671000 Shares: 2 (0 orphan, 0 dead) Stale rate: ~0.0% (0-66%) Efficiency: ~118.9% (40-119%) Current payout: (0.0000)=0.0000 DASH
2015-11-09 02:13:02.672000 Pool: 1705MH/s Stale rate: 15.9% Expected time to block: 2.3 hours
2015-11-09 02:13:03.708000 RECV inv 0110000000cd52a46a140a4cbe6c4c03f9313e048ae414d138f3cef1da8407c30845e2336b
2015-11-09 02:13:03.709000 > Error handling message: (see RECV line)
2015-11-09 02:13:03.709000 > Traceback (most recent call last):
2015-11-09 02:13:03.710000 > File "D:\Python27\lib\site-packages\twisted\internet\tcp.py", line 209, in doRead
2015-11-09 02:13:03.710000 > return self._dataReceived(data)
2015-11-09 02:13:03.710000 > File "D:\Python27\lib\site-packages\twisted\internet\tcp.py", line 215, in _dataReceived
2015-11-09 02:13:03.711000 > rval = self.protocol.dataReceived(data)
2015-11-09 02:13:03.711000 > File "C:\p2pool\p2pool\util\p2protocol.py", line 27, in dataReceived
2015-11-09 02:13:03.711000 > self.dataReceived2(data)
2015-11-09 02:13:03.711000 > File "C:\p2pool\p2pool\util\datachunker.py", line 40, in _DataChunker
2015-11-09 02:13:03.712000 > wants = receiver.send(buf.get(wants))
2015-11-09 02:13:03.712000 > --- <exception caught here> ---
2015-11-09 02:13:03.712000 > File "C:\p2pool\p2pool\util\p2protocol.py", line 57, in dataReceiver
2015-11-09 02:13:03.712000 > self.packetReceived(command, type_.unpack(payload, self.ignore_trailing_payload))
2015-11-09 02:13:03.713000 > File "C:\p2pool\p2pool\util\pack.py", line 63, in unpack
2015-11-09 02:13:03.713000 > obj = self._unpack(data, ignore_trailing)
2015-11-09 02:13:03.713000 > File "C:\p2pool\p2pool\util\pack.py", line 42, in _unpack
2015-11-09 02:13:03.714000 > obj, (data2, pos) = self.read((data, 0))
2015-11-09 02:13:03.714000 > File "C:\p2pool\p2pool\util\pack.py", line 295, in read
2015-11-09 02:13:03.714000 > item[key], file = type_.read(file)
2015-11-09 02:13:03.714000 > File "C:\p2pool\p2pool\util\pack.py", line 171, in read
2015-11-09 02:13:03.715000 > res, file = self.type.read(file)
2015-11-09 02:13:03.715000 > File "C:\p2pool\p2pool\util\pack.py", line 295, in read
2015-11-09 02:13:03.715000 > item[key], file = type_.read(file)
2015-11-09 02:13:03.715000 > File "C:\p2pool\p2pool\util\pack.py", line 151, in read
2015-11-09 02:13:03.716000 > raise ValueError('enum data (%r) not in pack_to_unpack (%r)' % (data, self.pack_to_unpack))
2015-11-09 02:13:03.716000 > exceptions.ValueError: enum data (16) not in pack_to_unpack ({1: 'tx', 2: 'block', 3: 'filtered_block', 4: 'txlock_request', 5: 'txlock_vote', 6: 'spork', 7: 'masternode_winner', 8: 'masternode_scanning_error', 9: 'budget_vote', 10: 'budget_proposal', 11: 'budget_finalized', 12: 'budget_finalized_vote', 13: 'masternode_quorum', 14: 'masternode_announce', 15: 'masternode_ping'})
2015-11-09 02:13:06.768000 New work for worker! Difficulty: 0.000977 Share difficulty: 0.631912 Total block value: 4.178624 DASH including 2 transactions
2015-11-09 02:13:08.708000 P2Pool: 8700 shares in chain (4976 verified/8704 total) Peers: 6 (0 incoming)
2015-11-09 02:13:08.710000 Local: 1978kH/s in last 10.0 minutes Local dead on arrival: ~0.0% (0-2%) Expected time to share: 19.9 minutes
2015-11-09 02:13:08.710000 Shares: 2 (0 orphan, 0 dead) Stale rate: ~0.0% (0-66%) Efficiency: ~118.9% (40-119%) Current payout: (0.0000)=0.0000 DASH
2015-11-09 02:13:08.711000 Pool: 1704MH/s Stale rate: 15.9% Expected time to block: 2.3 hours
 
When i run p2pool i got these errors..
Please help me.

2015-11-09 02:13:02.669000 P2Pool: 8699 shares in chain (4975 verified/8703 total) Peers: 6 (0 incoming)
2015-11-09 02:13:02.670000 Local: 1978kH/s in last 10.0 minutes Local dead on arrival: ~0.0% (0-2%) Expected time to share: 19.9 minutes
2015-11-09 02:13:02.671000 Shares: 2 (0 orphan, 0 dead) Stale rate: ~0.0% (0-66%) Efficiency: ~118.9% (40-119%) Current payout: (0.0000)=0.0000 DASH
2015-11-09 02:13:02.672000 Pool: 1705MH/s Stale rate: 15.9% Expected time to block: 2.3 hours
2015-11-09 02:13:03.708000 RECV inv 0110000000cd52a46a140a4cbe6c4c03f9313e048ae414d138f3cef1da8407c30845e2336b
2015-11-09 02:13:03.709000 > Error handling message: (see RECV line)
2015-11-09 02:13:03.709000 > Traceback (most recent call last):
2015-11-09 02:13:03.710000 > File "D:\Python27\lib\site-packages\twisted\internet\tcp.py", line 209, in doRead
2015-11-09 02:13:03.710000 > return self._dataReceived(data)
2015-11-09 02:13:03.710000 > File "D:\Python27\lib\site-packages\twisted\internet\tcp.py", line 215, in _dataReceived
2015-11-09 02:13:03.711000 > rval = self.protocol.dataReceived(data)
2015-11-09 02:13:03.711000 > File "C:\p2pool\p2pool\util\p2protocol.py", line 27, in dataReceived
2015-11-09 02:13:03.711000 > self.dataReceived2(data)
2015-11-09 02:13:03.711000 > File "C:\p2pool\p2pool\util\datachunker.py", line 40, in _DataChunker
2015-11-09 02:13:03.712000 > wants = receiver.send(buf.get(wants))
2015-11-09 02:13:03.712000 > --- <exception caught here> ---
2015-11-09 02:13:03.712000 > File "C:\p2pool\p2pool\util\p2protocol.py", line 57, in dataReceiver
2015-11-09 02:13:03.712000 > self.packetReceived(command, type_.unpack(payload, self.ignore_trailing_payload))
2015-11-09 02:13:03.713000 > File "C:\p2pool\p2pool\util\pack.py", line 63, in unpack
2015-11-09 02:13:03.713000 > obj = self._unpack(data, ignore_trailing)
2015-11-09 02:13:03.713000 > File "C:\p2pool\p2pool\util\pack.py", line 42, in _unpack
2015-11-09 02:13:03.714000 > obj, (data2, pos) = self.read((data, 0))
2015-11-09 02:13:03.714000 > File "C:\p2pool\p2pool\util\pack.py", line 295, in read
2015-11-09 02:13:03.714000 > item[key], file = type_.read(file)
2015-11-09 02:13:03.714000 > File "C:\p2pool\p2pool\util\pack.py", line 171, in read
2015-11-09 02:13:03.715000 > res, file = self.type.read(file)
2015-11-09 02:13:03.715000 > File "C:\p2pool\p2pool\util\pack.py", line 295, in read
2015-11-09 02:13:03.715000 > item[key], file = type_.read(file)
2015-11-09 02:13:03.715000 > File "C:\p2pool\p2pool\util\pack.py", line 151, in read
2015-11-09 02:13:03.716000 > raise ValueError('enum data (%r) not in pack_to_unpack (%r)' % (data, self.pack_to_unpack))
2015-11-09 02:13:03.716000 > exceptions.ValueError: enum data (16) not in pack_to_unpack ({1: 'tx', 2: 'block', 3: 'filtered_block', 4: 'txlock_request', 5: 'txlock_vote', 6: 'spork', 7: 'masternode_winner', 8: 'masternode_scanning_error', 9: 'budget_vote', 10: 'budget_proposal', 11: 'budget_finalized', 12: 'budget_finalized_vote', 13: 'masternode_quorum', 14: 'masternode_announce', 15: 'masternode_ping'})
2015-11-09 02:13:06.768000 New work for worker! Difficulty: 0.000977 Share difficulty: 0.631912 Total block value: 4.178624 DASH including 2 transactions
2015-11-09 02:13:08.708000 P2Pool: 8700 shares in chain (4976 verified/8704 total) Peers: 6 (0 incoming)
2015-11-09 02:13:08.710000 Local: 1978kH/s in last 10.0 minutes Local dead on arrival: ~0.0% (0-2%) Expected time to share: 19.9 minutes
2015-11-09 02:13:08.710000 Shares: 2 (0 orphan, 0 dead) Stale rate: ~0.0% (0-66%) Efficiency: ~118.9% (40-119%) Current payout: (0.0000)=0.0000 DASH
2015-11-09 02:13:08.711000 Pool: 1704MH/s Stale rate: 15.9% Expected time to block: 2.3 hours
https://github.com/dashpay/p2pool-dash/pull/21/files
 
Thx, but new errors:

Outgoing connection to peer 104.207.156.161:8999 established. p2pool version: 1400 'fedb4fe-dirty'
2015-11-10 20:03:09.771000 Peer sent entire transaction de512c6f18cb8e0a6628ae0a45a0fd81cb15f1392b1387bc06151089303855d4 that was already received
2015-11-10 20:03:09.776000 Requesting parent share 5d37dece from 104.207.156.161:8999
2015-11-10 20:03:10.011000 Outgoing connection to peer 109.206.186.97:8999 established. p2pool version: 1400 'c5282ca-dirty'
2015-11-10 20:03:10.068000 Peer sent entire transaction de512c6f18cb8e0a6628ae0a45a0fd81cb15f1392b1387bc06151089303855d4 that was already received
2015-11-10 20:03:10.093000 Processing 10 shares from 104.207.156.161:8999...
2015-11-10 20:03:10.156000 > Error while processing Event callbacks:
2015-11-10 20:03:10.156000 > Traceback (most recent call last):
2015-11-10 20:03:10.157000 > File "C:\p2pool\p2pool\node.py", line 135, in download_shares
2015-11-10 20:03:10.158000 > self.handle_shares([(share, []) for share in shares], peer)
2015-11-10 20:03:10.159000 > File "C:\p2pool\p2pool\node.py", line 48, in handle_shares
2015-11-10 20:03:10.160000 > self.node.set_best_share()
2015-11-10 20:03:10.160000 > File "C:\p2pool\p2pool\node.py", line 301, in set_best_share
2015-11-10 20:03:10.161000 > self.best_share_var.set(best)
2015-11-10 20:03:10.162000 > File "C:\p2pool\p2pool\util\variable.py", line 74, in set
2015-11-10 20:03:10.162000 > self.changed.happened(value)
2015-11-10 20:03:10.163000 > --- <exception caught here> ---
2015-11-10 20:03:10.164000 > File "C:\p2pool\p2pool\util\variable.py", line 42, in happened
2015-11-10 20:03:10.165000 > func(*event)
2015-11-10 20:03:10.166000 > File "C:\p2pool\p2pool\node.py", line 96, in broadcast_share
2015-11-10 20:03:10.166000 > peer.sendShares([share for share in shares if share.peer_addr != peer.addr], self.node.tracker, self.node.known_txs_var.value, include_txs_with=[share_hash])
2015-11-10 20:03:10.167000 > File "C:\p2pool\p2pool\p2p.py", line 317, in sendShares
2015-11-10 20:03:10.168000 > assert tx_hash in known_txs, 'tried to broadcast share without knowing all its new transactions'
2015-11-10 20:03:10.169000 > exceptions.AssertionError: tried to broadcast share without knowing all its new transactions
2015-11-10 20:03:10.169000 ... done processing 10 shares. New: 10 Have: 15728/~8640
2015-11-10 20:03:10.170000 Requesting parent share a63163e8 from 104.207.156.161:8999
2015-11-10 20:03:11.428000 Outgoing connection to peer 71.58.72.67:8999 established. p2pool version: 1400 'ee22ec0-dirty'
2015-11-10 20:03:11.665000 Peer sent entire transaction de512c6f18cb8e0a6628ae0a45a0fd81cb15f1392b1387bc06151089303855d4 that was already received
2015-11-10 20:03:11.893000 P2Pool: 14724 shares in chain (12411 verified/14728 total) Peers: 3 (0 incoming)
2015-11-10 20:03:11.894000 Local: 0H/s in last 0.0 seconds Local dead on arrival: ??? Expected time to share: ???
 
Thx, but new errors:

Outgoing connection to peer 104.207.156.161:8999 established. p2pool version: 1400 'fedb4fe-dirty'
2015-11-10 20:03:09.771000 Peer sent entire transaction de512c6f18cb8e0a6628ae0a45a0fd81cb15f1392b1387bc06151089303855d4 that was already received
2015-11-10 20:03:09.776000 Requesting parent share 5d37dece from 104.207.156.161:8999
2015-11-10 20:03:10.011000 Outgoing connection to peer 109.206.186.97:8999 established. p2pool version: 1400 'c5282ca-dirty'
2015-11-10 20:03:10.068000 Peer sent entire transaction de512c6f18cb8e0a6628ae0a45a0fd81cb15f1392b1387bc06151089303855d4 that was already received
2015-11-10 20:03:10.093000 Processing 10 shares from 104.207.156.161:8999...
2015-11-10 20:03:10.156000 > Error while processing Event callbacks:
2015-11-10 20:03:10.156000 > Traceback (most recent call last):
2015-11-10 20:03:10.157000 > File "C:\p2pool\p2pool\node.py", line 135, in download_shares
2015-11-10 20:03:10.158000 > self.handle_shares([(share, []) for share in shares], peer)
2015-11-10 20:03:10.159000 > File "C:\p2pool\p2pool\node.py", line 48, in handle_shares
2015-11-10 20:03:10.160000 > self.node.set_best_share()
2015-11-10 20:03:10.160000 > File "C:\p2pool\p2pool\node.py", line 301, in set_best_share
2015-11-10 20:03:10.161000 > self.best_share_var.set(best)
2015-11-10 20:03:10.162000 > File "C:\p2pool\p2pool\util\variable.py", line 74, in set
2015-11-10 20:03:10.162000 > self.changed.happened(value)
2015-11-10 20:03:10.163000 > --- <exception caught here> ---
2015-11-10 20:03:10.164000 > File "C:\p2pool\p2pool\util\variable.py", line 42, in happened
2015-11-10 20:03:10.165000 > func(*event)
2015-11-10 20:03:10.166000 > File "C:\p2pool\p2pool\node.py", line 96, in broadcast_share
2015-11-10 20:03:10.166000 > peer.sendShares([share for share in shares if share.peer_addr != peer.addr], self.node.tracker, self.node.known_txs_var.value, include_txs_with=[share_hash])
2015-11-10 20:03:10.167000 > File "C:\p2pool\p2pool\p2p.py", line 317, in sendShares
2015-11-10 20:03:10.168000 > assert tx_hash in known_txs, 'tried to broadcast share without knowing all its new transactions'
2015-11-10 20:03:10.169000 > exceptions.AssertionError: tried to broadcast share without knowing all its new transactions
2015-11-10 20:03:10.169000 ... done processing 10 shares. New: 10 Have: 15728/~8640
2015-11-10 20:03:10.170000 Requesting parent share a63163e8 from 104.207.156.161:8999
2015-11-10 20:03:11.428000 Outgoing connection to peer 71.58.72.67:8999 established. p2pool version: 1400 'ee22ec0-dirty'
2015-11-10 20:03:11.665000 Peer sent entire transaction de512c6f18cb8e0a6628ae0a45a0fd81cb15f1392b1387bc06151089303855d4 that was already received
2015-11-10 20:03:11.893000 P2Pool: 14724 shares in chain (12411 verified/14728 total) Peers: 3 (0 incoming)
2015-11-10 20:03:11.894000 Local: 0H/s in last 0.0 seconds Local dead on arrival: ??? Expected time to share: ???
I think I ignore this one :p
 
Back
Top