Не получается подключиться к p2pool (linux) ни cgminer,ни bfgminer, ни reaper (все взял самые последние под win x64), в соло работают.
# bfgminer.exe --no-stratum --scrypt -o http://192.168.0.1:1111 -u a -p b
bfgminer version 2.10.5 - Started: [2013-00-10 02:48:08] - [ 0 days 00:02:15]
-------------------------------------------------------------------------------
5s: 0.0 avg: 0.0 u: 0.0 kh/s | A:0 R:0 S:0 HW:0 U:0.0/m
ST: 0 DW: 0 GW: 0 LW: 0 GF: 1 NB: 0 AS: 0 RF: 0 E: 0.00
Connected to 192.168.254.2 diff with stratum as user a
Block: (null) Diff: Started: Best share: 0
-------------------------------------------------------------------------------
[P]ool management [G]PU management [S]ettings [D]isplay options [Q]uit
OCL 0: 50.5C 3882RPM | WAIT / 0.0/ 0.0kh/s | A:0 R:0 HW:0 U:0.00/m
OCL 1: 62.0C 3523RPM | WAIT / 0.0/ 0.0kh/s | A:0 R:0 HW:0 U:0.00/m
-------------------------------------------------------------------------------
[2013-00-10 02:48:08] Probing for an alive pool
[2013-00-10 02:48:08] Disabling extra threads due to dynamic mode.
[2013-00-10 02:48:08] Tune dynamic intensity with --gpu-dyninterval
Кстати, почему оно пишет что майнер соединяется
with stratum? я же указал --no-stratum (что с ним что без него одинаково)
Во время
не работы этого майнера в логах p2pool проскакивают ошибки:
# python2.7 ./run_p2pool.py --net novacoin --bitcoind-address 192.168.0.2 -w 192.168.0.1:1111 user password
2013-00-10 02:52:34.102093 P2Pool: 3960 shares in chain (2905 verified/3961 total) Peers: 9 (5 incoming)
2013-00-10 02:52:34.102298 Local: 0H/s in last 0.0 seconds Local dead on arrival: ??? Expected time to share: ???
2013-00-10 02:52:34.102353 Shares: 0 (0 orphan, 0 dead) Stale rate: ??? Efficiency: ??? Current payout: 0.0000 NVC
2013-00-10 02:52:34.102414 Pool: 11228kH/s Stale rate: 13.0% Expected time to block: 2.4 hours
2013-00-10 02:52:35.022168 65 33
2013-00-10 02:52:35.023826 > Error while processing Event callbacks:
2013-00-10 02:52:35.023967 > Traceback (most recent call last):
2013-00-10 02:52:35.024023 > File "/home/rpman/p2pool/p2pool/node.py", line 291, in set_best_share
2013-00-10 02:52:35.024077 > self.best_share_var.set(best)
2013-00-10 02:52:35.024128 > File "/home/rpman/p2pool/p2pool/util/variable.py", line 74, in set
2013-00-10 02:52:35.024180 > self.changed.happened(value)
2013-00-10 02:52:35.024231 > File "/home/rpman/p2pool/p2pool/util/variable.py", line 42, in happened
2013-00-10 02:52:35.024282 > func(*event)
2013-00-10 02:52:35.024333 > File "/home/rpman/p2pool/p2pool/work.py", line 120, in <lambda>
2013-00-10 02:52:35.024384 > self.node.best_share_var.changed.watch(lambda _: self.new_work_event.happened())
2013-00-10 02:52:35.024436 > --- <exception caught here> ---
2013-00-10 02:52:35.024487 > File "/home/rpman/p2pool/p2pool/util/variable.py", line 42, in happened
2013-00-10 02:52:35.024538 > func(*event)
2013-00-10 02:52:35.024588 > File "/home/rpman/p2pool/p2pool/bitcoin/stratum.py", line 35, in _send_work
2013-00-10 02:52:35.024666 > x, got_response = self.wb.get_work(*self.wb.preprocess_request('' if self.username is None else self.username))
2013-00-10 02:52:35.024766 > File "/home/rpman/p2pool/p2pool/bitcoin/worker_interface.py", line 121, in get_work
2013-00-10 02:52:35.024824 > x, handler = self._inner.get_work(*args)
2013-00-10 02:52:35.024875 > File "/home/rpman/p2pool/p2pool/work.py", line 237, in get_work
2013-00-10 02:52:35.024927 > base_subsidy=subsidy
2013-00-10 02:52:35.024977 > File "/home/rpman/p2pool/p2pool/data.py", line 251, in generate_transaction
2013-00-10 02:52:35.025030 > script='\x24' + cls.get_ref_hash(net, share_info, ref_merkle_link) + pack.IntType(32).pack(last_txout_nonce),
2013-00-10 02:52:35.025084 > File "/home/rpman/p2pool/p2pool/data.py", line 277, in get_ref_hash
2013-00-10 02:52:35.025135 > share_info=share_info,
2013-00-10 02:52:35.025185 > File "/home/rpman/p2pool/p2pool/util/pack.py", line 72, in pack
2013-00-10 02:52:35.025236 > data = self._pack(obj)
2013-00-10 02:52:35.025286 > File "/home/rpman/p2pool/p2pool/util/pack.py", line 52, in _pack
2013-00-10 02:52:35.025337 > f = self.write(None, obj)
2013-00-10 02:52:35.025388 > File "/home/rpman/p2pool/p2pool/util/pack.py", line 299, in write
2013-00-10 02:52:35.025439 > file = type_.write(file, item[key])
2013-00-10 02:52:35.025490 > File "/home/rpman/p2pool/p2pool/util/pack.py", line 299, in write
2013-00-10 02:52:35.025542 > file = type_.write(file, item[key])
2013-00-10 02:52:35.025592 > File "/home/rpman/p2pool/p2pool/util/pack.py", line 299, in write
2013-00-10 02:52:35.025643 > file = type_.write(file, item[key])
2013-00-10 02:52:35.025694 > File "/home/rpman/p2pool/p2pool/util/pack.py", line 326, in write
2013-00-10 02:52:35.025745 > raise ValueError('incorrect length item!')
2013-00-10 02:52:35.025796 > exceptions.ValueError: incorrect length item!
reaper ругается на long pool:
Longpoll url -->/long-polling<--
Error with server: {"error": {"message": "Unknown error", "code": -32099, "data": null}, "jsonrpc": "2.0", "id": "1", "result": null}
Activating long polling.
Long polling URL: [/long-polling]. trying to parse.
LP Path: /long-polling
настройки:
kernel reaper.cl save_binaries yes enable_graceful_shutdown no long_polling no
mine litecoin | kernel litecoin-reaper.cl
host 192.168.0.1 port 1111 user user pass password
protocol litecoin
worksize 64 aggression 18 threads_per_gpu 1 sharethreads 18 lookup_gap 2 gpu_thread_concurrency 6500 |
p.s. при повторном перезапуске p2pool (после ctrl+c) вылезают периодические ошибки:
2013-00-10 02:57:58.150073 > Error validating cached pubkey:
2013-00-10 02:57:58.150210 > Traceback (most recent call last):
2013-00-10 02:57:58.150269 > File "/usr/lib64/python2.7/site-packages/twisted/internet/defer.py", line 576, in _runCallbacks
2013-00-10 02:57:58.150325 > current.result = callback(current.result, *args, **kw)
2013-00-10 02:57:58.150378 > File "/usr/lib64/python2.7/site-packages/twisted/internet/defer.py", line 1127, in gotResult
2013-00-10 02:57:58.150434 > _inlineCallbacks(r, g, deferred)
2013-00-10 02:57:58.150486 > File "/usr/lib64/python2.7/site-packages/twisted/internet/defer.py", line 1069, in _inlineCallbacks
2013-00-10 02:57:58.150542 > result = result.throwExceptionIntoGenerator(g)
2013-00-10 02:57:58.150595 > File "/usr/lib64/python2.7/site-packages/twisted/python/failure.py", line 389, in throwExceptionIntoGenerator
2013-00-10 02:57:58.150649 > return g.throw(self.type, self.value, self.tb)
2013-00-10 02:57:58.150704 > --- <exception caught here> ---
2013-00-10 02:57:58.150754 > File "/home/rpman/p2pool/p2pool/util/deferral.py", line 41, in f
2013-00-10 02:57:58.150806 > result = yield func(*args, **kwargs)
2013-00-10 02:57:58.150860 > File "/usr/lib64/python2.7/site-packages/twisted/internet/defer.py", line 1069, in _inlineCallbacks
2013-00-10 02:57:58.150913 > result = result.throwExceptionIntoGenerator(g)
2013-00-10 02:57:58.150964 > File "/usr/lib64/python2.7/site-packages/twisted/python/failure.py", line 389, in throwExceptionIntoGenerator
2013-00-10 02:57:58.151022 > return g.throw(self.type, self.value, self.tb)
2013-00-10 02:57:58.151074 > File "/home/rpman/p2pool/p2pool/util/jsonrpc.py", line 133, in _http_do
2013-00-10 02:57:58.151129 > raise Error_for_code(resp['error']['code'])(resp['error']['message'], resp['error'].get('data', None))
2013-00-10 02:57:58.151183 > p2pool.util.jsonrpc.NarrowError: -32601 Method not found
если удалить папку data/novacoin то запускается нормально, до следующей остановки...