Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when issuing work for miner #1

Open
wants to merge 1,695 commits into
base: master
Choose a base branch
from
Open

Conversation

djnapalm
Copy link

2015-01-16 12:13:41.293859 P2Pool: 8696 shares in chain (4338 verified/8696 total) Peers: 2 (0 incoming)
2015-01-16 12:13:41.294054 Local: 0H/s in last 0.0 seconds Local dead on arrival: ??? Expected time to share: ???
2015-01-16 12:13:41.294142 Shares: 0 (0 orphan, 0 dead) Stale rate: ??? Efficiency: ??? Current payout: 0.0000 DRK
2015-01-16 12:13:41.294232 Pool: 2455MH/s Stale rate: 13.9% Expected time to block: 1.4 hours
2015-01-16 12:13:41.598595 Outgoing connection to peer 107.191.44.236:8999 established. p2pool version: 1300 '81fc6c5-dirty'
2015-01-16 12:13:41.768085 Peer sent entire transaction 7ef014c1d1cc34e7faa2d2e1a4c4206f2dad109dc6961f7abd3f7742a194f9fe that was already received
2015-01-16 12:13:42.863757 > Unhandled Error
2015-01-16 12:13:42.863940 > Traceback (most recent call last):
2015-01-16 12:13:42.864049 > File "/root/p2pool-drk/p2pool/main.py", line 578, in run
2015-01-16 12:13:42.864145 > reactor.run()
2015-01-16 12:13:42.864233 > File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1192, in run
2015-01-16 12:13:42.864320 > self.mainLoop()
2015-01-16 12:13:42.864402 > File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1201, in mainLoop
2015-01-16 12:13:42.864490 > self.runUntilCurrent()
2015-01-16 12:13:42.864576 > File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 824, in runUntilCurrent
2015-01-16 12:13:42.864661 > call.func(_call.args, *_call.kw)
2015-01-16 12:13:42.864746 > --- ---
2015-01-16 12:13:42.864830 > File "/root/p2pool-drk/p2pool/bitcoin/stratum.py", line 39, in _send_work
2015-01-16 12:13:42.864917 > x, got_response = self.wb.get_work(_self.wb.preprocess_request('' if self.username is None else self.username))
2015-01-16 12:13:42.865005 > File "/root/p2pool-drk/p2pool/bitcoin/worker_interface.py", line 129, in get_work
2015-01-16 12:13:42.865109 > x, handler = self._inner.get_work(_args)
2015-01-16 12:13:42.865193 > File "/root/p2pool-drk/p2pool/work.py", line 326, in get_work
2015-01-16 12:13:42.865280 > len(self.current_work.value['transactions']),
2015-01-16 12:13:42.865366 > exceptions.TypeError: %d format: a number is required, not str
2015-01-16 12:13:45.018451 P2Pool: 8649 shares in chain (4339 verified/8649 total) Peers: 3 (0 incoming)
2015-01-16 12:13:45.018614 Local: 0H/s in last 0.0 seconds Local dead on arrival: ??? Expected time to share: ???
2015-01-16 12:13:45.018661 Shares: 0 (0 orphan, 0 dead) Stale rate: ??? Efficiency: ??? Current payout: 0.0000 DRK
2015-01-16 12:13:45.018711 Pool: 2426MH/s Stale rate: 13.9% Expected time to block: 1.4 hours

forrestv and others added 30 commits January 2, 2013 02:06
…memory leak

This reverts commit 6f1a456.

Conflicts:

	p2pool/main.py
	p2pool/p2p.py
	p2pool/util/p2protocol.py
Timed out connections are not always killed with transport.loseConnection().
Call transport.abortConnection() instead.

http://twistedmatrix.com/documents/12.2.0/core/howto/servers.html

This fixes the memory leaking issues.
Abort timed out connections with abortConnection()
Use getblocktemplate instead of submitblock for litecoin node
Fix for litecoin block sending
Fix p2pool's stratum scrypt support
Update readme + alternate p2pool web front end
readme.md :)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.