https://github.com/dashpay/dash/blob/v0.12.0.x/src/protocol.h#L162need fix itCode:(from dashd) EXCEPTION: St12out_of_range CInv::GetCommand() : type=15 unknown type dash in ProcessMessages()
With my poor knowledge of python, I agree with update list of message_inv for "dstx" : https://github.com/dashpay/p2pool-dash/pull/21https://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?
p2pool needs at least 24h 'run up time' to get to max payments.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![]()
https://github.com/dashpay/p2pool-dash/pull/21/filesWhen 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
I think I ignore this oneThx, 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: ???
tryThanks! Can I disable logging p2pool? I have a SSD drive, I want to disable the log
--logfile /dev/null
@tungfa
Agree to update this OP,
I believe that the official p2pool source is https://github.com/dashpay/p2pool-dash
The list of p2pool node online is already in wiki.
IMO, 20 kH/s is too low to get any share so it's possibly unable to be calculated on Mainnet.Hi! I am trying to create my own pool and all is set and done. Though the miners are creating around 20 kH/s, why do I always get this message:
Local: 0H/s in last 0.0 seconds Local dead on arrival: ??? Expected time to share: ???
Any help is appreciated.
Thanks for the possible explanation. What's the minimum hash should I calculate so that the statistics shows correctly? Current Pool Rate is 540GH/s (12% DOA+orphan).IMO, 20 kH/s is too low to get any share so it's possibly unable to be calculated on Mainnet.
540GH/s is about 540,000,000kH/sThanks for the possible explanation. What's the minimum hash should I calculate so that the statistics shows correctly? Current Pool Rate is 540GH/s (12% DOA+orphan).
Thank you @thelazier I will run p2pool on Testnet now. Please consider me a novice while answering my following question:540GH/s is about 540,000,000kH/s
So, please try run p2pool on Testnet to check whether your setup have same problem or not. Testnet global pool hash rate is about 16MH/s (about 16,000kH/s).
The pool's local hash rate usually be calculated from valid shares submit from miners if your miners doesn't submit any valid shares the pool's local hash rate would show 0.Thank you @thelazier I will run p2pool on Testnet now. Please consider me a novice while answering my following question:
The Local rate in p2pool is the local hash rate that is being generated by the miners on my pool (I have 5, so 5x25 = 125 kH/s). If I want to display this on the Local rate, how can I do that? Will that be wrong?