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

Running p2p pool connecting to darkcoind

mattmct

Active member
Hey guys,

I have been running http://x11p2p.com:7903/static/ for the past few months, it's one of the most popular p2pools, normally with 200MH/s to 600Mh/s most of the time.

I Finally got around to updating to RC5.

Looks like that's running fine. But when I now start up the p2pool software, it's having connection problems.

2014-09-28 15:29:20.408618 p2pool (version fac408d-dirty)
2014-09-28 15:29:20.408759
2014-09-28 15:29:20.408871 Testing bitcoind RPC connection to 'http://127.0.0.1:9998/' with username 'random_user_namedfgkre'...
2014-09-28 15:29:20.460310 ...success!
2014-09-28 15:29:20.460391 Current block hash: 1466cb2e2f32ea8df0074baadb9d0d9c19c33ca5603aeec42b4b0
2014-09-28 15:29:20.460461 Current block height: 143856
2014-09-28 15:29:20.460535
2014-09-28 15:29:20.460615 Testing bitcoind P2P connection to '127.0.0.1:9999'...
2014-09-28 15:29:25.460879 ...taking a while. Common reasons for this include all of bitcoind's connection slots being used...

This is what I get.

darkcoind has 8 connections currently. darkcoin.conf has 100 max connections set, so I'm not sure what the problem is.

Was there a new p2pool software released?
 
I have no experience with P2Pool, but did you already try to delete peers.dat in your .darkcoin folder? Maybe your darkcoind just banned your p2p-pool from connecting :)
 
Yes, 59502b0-dirty is the latest.

you are running

2014-09-28 15:29:20.408618 p2pool (version fac408d-dirty)

Ahhh. Where can this be found? Thanks

This is one thing I hope we can improve on. Small things like this. I did do a quick search but didn't find anything usefil.
 
hey guys
ok (super nob question)

I have a guy on my chatroom who wants to set up a p2pool for the Asia region,
as he is saying it would be better that way than dealing with the US based once ?!
(he wants to run it out of Singapore)

As for details
https://bitbucket.org/dstorm/p2pool-drk.git
is giving him everything he needs to know and have ?!?

Tx
Dear tungfa,
Please use latest p2pool from
  1. https://github.com/vertoe/p2pool-drk
  2. https://github.com/vertoe/darkcoin_hash
  3. https://github.com/vertoe/darkcoin_subsidy
as vertoe created in https://darkcointalk.org/threads/p2pool-repository-and-python-modules.3380/
 
sorry me again

that guy trying to set up p2pool sais
(any pointers please):

for p2pool-drk
running on ubuntu
two things
it seems to require to be run as sudo
and
I can't get it past this: darkcoin@Ubuntu1404-64bit:~/p2pool-drk$ sudo python run_p2pool.py
2015-02-16 18:38:39.454235 p2pool (version 81fc6c5)
2015-02-16 18:38:39.454615
2015-02-16 18:38:39.454873 Testing bitcoind RPC connection to 'http://127.0.0.1:9998/' with username 'darkcoinrpc'...
2015-02-16 18:38:39.492830 ...success!
2015-02-16 18:38:39.493390 Current block hash: 45d93736342f443e72ef69969dd97cb0c09eb56ad5735ba37ad6e
2015-02-16 18:38:39.493605 Current block height: 221049
2015-02-16 18:38:39.493747
2015-02-16 18:38:39.493901 Testing bitcoind P2P connection to '127.0.0.1:9999'...
2015-02-16 18:38:44.494319 ...taking a while. Common reasons for this include all of bitcoind's connection slots being used...
2015-02-16 18:45:43.691448 RECV inv 0105000000f1b12886650b7d8a71a5546b5bf15d5c66 851e11e90d07a639cc737c92bbf558
2015-02-16 18:45:43.812638 > Error handling message: (see RECV line)
2015-02-16 18:45:43.812797 > Traceback (most recent call last):
2015-02-16 18:45:43.812851 > File "/usr/lib/python2.7/dist-packages/twisted/in ternet/tcp.py", line 215, in doRead
2015-02-16 18:45:43.812891 > return self._dataReceived(data)
2015-02-16 18:45:43.812925 > File "/usr/lib/python2.7/dist-packages/twisted/in ternet/tcp.py", line 221, in _dataReceived
2015-02-16 18:45:43.812959 > rval = self.protocol.dataReceived(data)
2015-02-16 18:45:43.812997 > File "/home/darkcoin/p2pool-drk/p2pool/util/p2pro tocol.py", line 27, in dataReceived
2015-02-16 18:45:43.813041 > self.dataReceived2(data)
2015-02-16 18:45:43.813098 > File "/home/darkcoin/p2pool-drk/p2pool/util/datac hunker.py", line 40, in _DataChunker
2015-02-16 18:45:43.813154 > wants = receiver.send(buf.get(wants))
2015-02-16 18:45:43.813192 > —- <exception caught here> —-
2015-02-16 18:45:43.813225 > File "/home/darkcoin/p2pool-drk/p2pool/util/p2pro tocol.py", line 57, in dataReceiver
2015-02-16 18:45:43.813256 > self.packetReceived(command, type_.unpack(paylo ad, self.ignore_trailing_payload))
2015-02-16 18:45:43.814064 > File "/home/darkcoin/p2pool-drk/p2pool/util/pack. py", line 63, in unpack
2015-02-16 18:45:43.814105 > obj = self._unpack(data, ignore_trailing)
2015-02-16 18:45:43.814137 > File "/home/darkcoin/p2pool-drk/p2pool/util/pack. py", line 42, in _unpack
2015-02-16 18:45:43.814168 > obj, (data2, pos) = self.read((data, 0))
2015-02-16 18:45:43.814198 > File "/home/darkcoin/p2pool-drk/p2pool/util/pack. py", line 295, in read
2015-02-16 18:45:43.814230 > item[key], file = type_.read(file)
2015-02-16 18:45:43.814260 > File "/home/darkcoin/p2pool-drk/p2pool/util/pack. py", line 171, in read
2015-02-16 18:45:43.814291 > res, file = self.type.read(file)
2015-02-16 18:45:43.814321 > File "/home/darkcoin/p2pool-drk/p2pool/util/pack. py", line 295, in read
2015-02-16 18:45:43.814352 > item[key], file = type_.read(file)
2015-02-16 18:45:43.814382 > File "/home/darkcoin/p2pool-drk/p2pool/util/pack. py", line 151, in read
2015-02-16 18:45:43.814413 > raise ValueError('enum data (%r) not in pack_to _unpack (%r)' % (data, self.pack_to_unpack))
2015-02-16 18:45:43.814445 > exceptions.ValueError: enum data (5) not in pack_to _unpack ({1: 'tx', 2: 'block'})
This is the error i keep on getting
 
Since I'm running a p2pool server, here is my pointers
- no need for sudo , sudo only for install python modules.
- 2015-02-16 18:38:44.494319 ...taking a while. Common reasons for this include all of bitcoind's connection slots being used...
This is about checking darkcoind 's param , listen=1 and maxconnections value.
- Other error from RECV inv ....
I currently ignore this error, the server still keep running fine just drop connection everytime from this error. ( I fixed my code to just ignore this error and not disconnect)
 
Back
Top