Post
Topic
Board Pools
Re: [400GH/s] p2pool: Decentralized, DoS-resistant, Hop-Proof pool
by
lenny_
on 13/11/2012, 14:05:53 UTC

Accessing http://127.0.0.1:9332/static/share.html
Causes bug in main program, will output this to cmd window.

Code:
2012-11-12 22:28:29.704000 > Error in DeferredResource handler:
2012-11-12 22:28:29.704000 > Traceback (most recent call last):
2012-11-12 22:28:29.704000 >   File "p2pool\util\deferred_resource.pyc", line 24, in render
2012-11-12 22:28:29.704000 >
2012-11-12 22:28:29.704000 >   File "twisted\internet\defer.pyc", line 134, in maybeDeferred
2012-11-12 22:28:29.704000 >
2012-11-12 22:28:29.704000 >   File "twisted\web\resource.pyc", line 216, in render
2012-11-12 22:28:29.704000 >
2012-11-12 22:28:29.704000 >   File "twisted\internet\defer.pyc", line 1187, in unwindGenerator
2012-11-12 22:28:29.704000 >
2012-11-12 22:28:29.704000 > --- ---
2012-11-12 22:28:29.704000 >   File "twisted\internet\defer.pyc", line 1045, in _inlineCallbacks
2012-11-12 22:28:29.704000 >
2012-11-12 22:28:29.704000 >   File "p2pool\web.pyc", line 195, in render_GET
2012-11-12 22:28:29.704000 >
2012-11-12 22:28:29.704000 >   File "p2pool\web.pyc", line 318, in
2012-11-12 22:28:29.704000 >
2012-11-12 22:28:29.704000 >   File "p2pool\web.pyc", line 278, in get_share
2012-11-12 22:28:29.704000 >
2012-11-12 22:28:29.704000 > exceptions.ValueError: invalid literal for int() with base 16: ''

How fast should a miner ask for updates from P2 pool?    I can do 1ms to 10,000 ms.

ALSO, if you want to parse the text window output for keywords to cause actions, you can use a program called : SCANCODE

Confirming here as well. Newest p2pool from git + newest bitcoind from git, on Debian stable AMD64.
Code:
012-11-13 14:03:14.633558 > Traceback (most recent call last):
2012-11-13 14:03:14.633884 >   File "/home/x/p2pool/p2pool/util/deferred_resource.py", line 24, in render
2012-11-13 14:03:14.634099 >     defer.maybeDeferred(resource.Resource.render, self, request).addCallbacks(finish, finish_error)
2012-11-13 14:03:14.634293 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 125, in maybeDeferred
2012-11-13 14:03:14.634480 >     result = f(*args, **kw)
2012-11-13 14:03:14.634806 >   File "/usr/lib/python2.6/dist-packages/twisted/web/resource.py", line 210, in render
2012-11-13 14:03:14.635060 >     return m(request)
2012-11-13 14:03:14.635283 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 1014, in unwindGenerator
2012-11-13 14:03:14.635476 >     return _inlineCallbacks(None, f(*args, **kwargs), Deferred())
2012-11-13 14:03:14.635660 > --- ---
2012-11-13 14:03:14.635847 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 893, in _inlineCallbacks
2012-11-13 14:03:14.636031 >     result = g.send(result)
2012-11-13 14:03:14.636213 >   File "/home/x/p2pool/p2pool/web.py", line 195, in render_GET
2012-11-13 14:03:14.636394 >     res = yield self.func(*self.args)
2012-11-13 14:03:14.636575 >   File "/home/x/p2pool/p2pool/web.py", line 318, in
2012-11-13 14:03:14.636874 >     new_root.putChild('share', WebInterface(lambda share_hash_str: get_share(share_hash_str)))
2012-11-13 14:03:14.637101 >   File "/home/x/p2pool/p2pool/web.py", line 278, in get_share
2012-11-13 14:03:14.637300 >     if int(share_hash_str, 16) not in node.tracker.items:
2012-11-13 14:03:14.637491 > exceptions.ValueError: invalid literal for int() with base 16: ''