Author

Topic: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool - page 633. (Read 2591920 times)

newbie
Activity: 7
Merit: 0
i just joined this pool. i'm already feeling good vibes from it. i appreciate the work on the implementation
zvs
legendary
Activity: 1680
Merit: 1000
https://web.archive.org/web/*/nogleg.com
tried this again, about 7ghash on it, was getting some absurd orphan rate.  out of ~60 shares, had 1 DOA and ~10 orphans.     something is either wrong with the newest version or someone that has a high hash rate has a crap link to the hetzner datacenter


did you disable the queue in ur miner?
phoenix miner by default has a queue size of 1

w/ the way p2pool is set up, someone with a shitty link can orphan a good amount of valid shares, just by hitting two in a row

(ie, someone with 50ghash out of 300ghash total)
legendary
Activity: 1792
Merit: 1008
/dev/null
forrestv, it is possible to catch erors in more elegant way?
Fragment of log:
Code:
2012-10-26 18:27:46.661441  Pool: 376GH/s Stale rate: 9.8% Expected time to block: 9.7 hours
2012-10-26 18:27:47.489866 > Error while calling merged getauxblock:
2012-10-26 18:27:47.490452 > Traceback (most recent call last):
2012-10-26 18:27:47.490728 >   File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 545, in _runCallbacks
2012-10-26 18:27:47.491193 >     current.result = callback(current.result, *args, **kw)
2012-10-26 18:27:47.491493 >   File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1095, in gotResult
2012-10-26 18:27:47.491694 >     _inlineCallbacks(r, g, deferred)
2012-10-26 18:27:47.492124 >   File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1037, in _inlineCallbacks
2012-10-26 18:27:47.492684 >     result = result.throwExceptionIntoGenerator(g)
2012-10-26 18:27:47.493071 >   File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 382, in throwExceptionIntoGenerator
2012-10-26 18:27:47.493683 >     return g.throw(self.type, self.value, self.tb)
2012-10-26 18:27:47.494030 > --- ---
2012-10-26 18:27:47.494498 >   File "/home/rav3n/p2pool/p2pool/util/deferral.py", line 41, in f
2012-10-26 18:27:47.494755 >     result = yield func(*args, **kwargs)
2012-10-26 18:27:47.495327 >   File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1037, in _inlineCallbacks
2012-10-26 18:27:47.495597 >     result = result.throwExceptionIntoGenerator(g)
2012-10-26 18:27:47.496006 >   File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 382, in throwExceptionIntoGenerator
2012-10-26 18:27:47.496226 >     return g.throw(self.type, self.value, self.tb)
2012-10-26 18:27:47.496612 >   File "/home/rav3n/p2pool/p2pool/util/jsonrpc.py", line 71, in callRemote
2012-10-26 18:27:47.496817 >     raise Error_for_code(resp['error']['code'])(resp['error']['message'], resp['error'].get('data', None))
2012-10-26 18:27:47.497191 > p2pool.util.jsonrpc.NarrowError: -10 I0Coin is downloading blocks...
2012-10-26 18:27:47.566807 > Error while calling merged getauxblock:
2012-10-26 18:27:47.566949 > Traceback (most recent call last):
2012-10-26 18:27:47.566984 >   File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 545, in _runCallbacks
2012-10-26 18:27:47.567016 >     current.result = callback(current.result, *args, **kw)
2012-10-26 18:27:47.567063 >   File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1095, in gotResult
2012-10-26 18:27:47.567092 >     _inlineCallbacks(r, g, deferred)
2012-10-26 18:27:47.567194 >   File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1037, in _inlineCallbacks
2012-10-26 18:27:47.567263 >     result = result.throwExceptionIntoGenerator(g)
2012-10-26 18:27:47.567292 >   File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 382, in throwExceptionIntoGenerator
2012-10-26 18:27:47.567320 >     return g.throw(self.type, self.value, self.tb)
2012-10-26 18:27:47.567346 > --- ---
2012-10-26 18:27:47.567371 >   File "/home/rav3n/p2pool/p2pool/util/deferral.py", line 41, in f
2012-10-26 18:27:47.567397 >     result = yield func(*args, **kwargs)
2012-10-26 18:27:47.567422 >   File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1037, in _inlineCallbacks
2012-10-26 18:27:47.567447 >     result = result.throwExceptionIntoGenerator(g)
2012-10-26 18:27:47.567592 >   File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 382, in throwExceptionIntoGenerator
2012-10-26 18:27:47.567679 >     return g.throw(self.type, self.value, self.tb)
2012-10-26 18:27:47.567707 >   File "/home/rav3n/p2pool/p2pool/util/jsonrpc.py", line 71, in callRemote
2012-10-26 18:27:47.567779 >     raise Error_for_code(resp['error']['code'])(resp['error']['message'], resp['error'].get('data', None))
2012-10-26 18:27:47.567809 > p2pool.util.jsonrpc.NarrowError: -10 I0Coin is downloading blocks...
2012-10-26 18:27:49.675252 P2Pool: 18454 shares in chain (18458 verified/18458 total) Peers: 11 (1 incoming)
In fact it can be one-liner:
Code:
2012-10-26 18:27:47.567809 > p2pool.util.jsonrpc.NarrowError: -10 I0Coin is downloading blocks...
Also it is printed 2 times one by one, getauxblock function is called second time immediately after failed try?
just wait until i0coin is done donwloading blocks! current blocks: 489547.
also did u specify it twice with --merged ? this happend once to me and it always said: New merged mining work...
legendary
Activity: 1361
Merit: 1003
Don`t panic! Organize!
forrestv, it is possible to catch erors in more elegant way?
Fragment of log:
Code:
2012-10-26 18:27:46.661441  Pool: 376GH/s Stale rate: 9.8% Expected time to block: 9.7 hours
2012-10-26 18:27:47.489866 > Error while calling merged getauxblock:
2012-10-26 18:27:47.490452 > Traceback (most recent call last):
2012-10-26 18:27:47.490728 >   File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 545, in _runCallbacks
2012-10-26 18:27:47.491193 >     current.result = callback(current.result, *args, **kw)
2012-10-26 18:27:47.491493 >   File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1095, in gotResult
2012-10-26 18:27:47.491694 >     _inlineCallbacks(r, g, deferred)
2012-10-26 18:27:47.492124 >   File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1037, in _inlineCallbacks
2012-10-26 18:27:47.492684 >     result = result.throwExceptionIntoGenerator(g)
2012-10-26 18:27:47.493071 >   File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 382, in throwExceptionIntoGenerator
2012-10-26 18:27:47.493683 >     return g.throw(self.type, self.value, self.tb)
2012-10-26 18:27:47.494030 > --- ---
2012-10-26 18:27:47.494498 >   File "/home/rav3n/p2pool/p2pool/util/deferral.py", line 41, in f
2012-10-26 18:27:47.494755 >     result = yield func(*args, **kwargs)
2012-10-26 18:27:47.495327 >   File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1037, in _inlineCallbacks
2012-10-26 18:27:47.495597 >     result = result.throwExceptionIntoGenerator(g)
2012-10-26 18:27:47.496006 >   File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 382, in throwExceptionIntoGenerator
2012-10-26 18:27:47.496226 >     return g.throw(self.type, self.value, self.tb)
2012-10-26 18:27:47.496612 >   File "/home/rav3n/p2pool/p2pool/util/jsonrpc.py", line 71, in callRemote
2012-10-26 18:27:47.496817 >     raise Error_for_code(resp['error']['code'])(resp['error']['message'], resp['error'].get('data', None))
2012-10-26 18:27:47.497191 > p2pool.util.jsonrpc.NarrowError: -10 I0Coin is downloading blocks...
2012-10-26 18:27:47.566807 > Error while calling merged getauxblock:
2012-10-26 18:27:47.566949 > Traceback (most recent call last):
2012-10-26 18:27:47.566984 >   File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 545, in _runCallbacks
2012-10-26 18:27:47.567016 >     current.result = callback(current.result, *args, **kw)
2012-10-26 18:27:47.567063 >   File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1095, in gotResult
2012-10-26 18:27:47.567092 >     _inlineCallbacks(r, g, deferred)
2012-10-26 18:27:47.567194 >   File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1037, in _inlineCallbacks
2012-10-26 18:27:47.567263 >     result = result.throwExceptionIntoGenerator(g)
2012-10-26 18:27:47.567292 >   File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 382, in throwExceptionIntoGenerator
2012-10-26 18:27:47.567320 >     return g.throw(self.type, self.value, self.tb)
2012-10-26 18:27:47.567346 > --- ---
2012-10-26 18:27:47.567371 >   File "/home/rav3n/p2pool/p2pool/util/deferral.py", line 41, in f
2012-10-26 18:27:47.567397 >     result = yield func(*args, **kwargs)
2012-10-26 18:27:47.567422 >   File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1037, in _inlineCallbacks
2012-10-26 18:27:47.567447 >     result = result.throwExceptionIntoGenerator(g)
2012-10-26 18:27:47.567592 >   File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 382, in throwExceptionIntoGenerator
2012-10-26 18:27:47.567679 >     return g.throw(self.type, self.value, self.tb)
2012-10-26 18:27:47.567707 >   File "/home/rav3n/p2pool/p2pool/util/jsonrpc.py", line 71, in callRemote
2012-10-26 18:27:47.567779 >     raise Error_for_code(resp['error']['code'])(resp['error']['message'], resp['error'].get('data', None))
2012-10-26 18:27:47.567809 > p2pool.util.jsonrpc.NarrowError: -10 I0Coin is downloading blocks...
2012-10-26 18:27:49.675252 P2Pool: 18454 shares in chain (18458 verified/18458 total) Peers: 11 (1 incoming)
In fact it can be one-liner:
Code:
2012-10-26 18:27:47.567809 > p2pool.util.jsonrpc.NarrowError: -10 I0Coin is downloading blocks...
Also it is printed 2 times one by one, getauxblock function is called second time immediately after failed try?
legendary
Activity: 1792
Merit: 1008
/dev/null
tried this again, about 7ghash on it, was getting some absurd orphan rate.  out of ~60 shares, had 1 DOA and ~10 orphans.     something is either wrong with the newest version or someone that has a high hash rate has a crap link to the hetzner datacenter


did you disable the queue in ur miner?
zvs
legendary
Activity: 1680
Merit: 1000
https://web.archive.org/web/*/nogleg.com
tried this again, about 7ghash on it, was getting some absurd orphan rate.  out of ~60 shares, had 1 DOA and ~10 orphans.     something is either wrong with the newest version or someone that has a high hash rate has a crap link to the hetzner datacenter

legendary
Activity: 1792
Merit: 1008
/dev/null
yes i did, should i restart it again?

It looks like you didn't.. strange. Try again, and if that doesn't work, delete all the *.pyc files.
working now, lets see if it crashes again Wink
hero member
Activity: 516
Merit: 643
yes i did, should i restart it again?

It looks like you didn't.. strange. Try again, and if that doesn't work, delete all the *.pyc files.
legendary
Activity: 1361
Merit: 1003
Don`t panic! Organize!
i am having problems compiling for use with litecoin i keep receiving the following error any help???

C:\p2pool\litecoin_scrypt>C:\Python27\python.exe setup.py build --compile=mingw3
2 install
running build
running build_ext
building 'ltc_scrypt' extension
creating build
creating build\temp.win32-2.7
creating build\temp.win32-2.7\Release
gcc -mno-cygwin -mdll -O -Wall -I. -IC:\Python27\include -IC:\Python27\PC -c scr
yptmodule.c -o build\temp.win32-2.7\Release\scryptmodule.o
error: command 'gcc' failed: No such file or directory

Windows 7 64bit all the recommended packages were installed
Grab scrypt module binary from my skydrive and put into your python installation Smiley
legendary
Activity: 1792
Merit: 1008
/dev/null
Desired Version Graph suddenly stoped working (current git head)

Did you restart P2Pool after upgrading?
yes i did, should i restart it again?
hero member
Activity: 516
Merit: 643
Desired Version Graph suddenly stoped working (current git head)

Did you restart P2Pool after upgrading?
legendary
Activity: 1792
Merit: 1008
/dev/null
Desired Version Graph suddenly stoped working (current git head)

Code:
2012-10-24 06:47:43.783091 > Traceback (most recent call last):
2012-10-24 06:47:43.783170 >   File "/home/k1773r/git/p2pool/p2pool/util/deferred_resource.py", line 24, in render
2012-10-24 06:47:43.783202 >     defer.maybeDeferred(resource.Resource.render, self, request).addCallbacks(finish, finish_error)
2012-10-24 06:47:43.783232 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 117, in maybeDeferred
2012-10-24 06:47:43.783261 >     result = f(*args, **kw)
2012-10-24 06:47:43.783289 >   File "/usr/lib/python2.6/dist-packages/twisted/web/resource.py", line 210, in render
2012-10-24 06:47:43.783317 >     return m(request)
2012-10-24 06:47:43.783346 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 944, in unwindGenerator
2012-10-24 06:47:43.783375 >     return _inlineCallbacks(None, f(*args, **kwargs), Deferred())
2012-10-24 06:47:43.783403 > --- ---
2012-10-24 06:47:43.783430 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 823, in _inlineCallbacks
2012-10-24 06:47:43.783458 >     result = g.send(result)
2012-10-24 06:47:43.783486 >   File "/home/k1773r/git/p2pool/p2pool/web.py", line 195, in render_GET
2012-10-24 06:47:43.783513 >     res = yield self.func(*self.args)
2012-10-24 06:47:43.783541 >   File "/home/k1773r/git/p2pool/p2pool/web.py", line 436, in
2012-10-24 06:47:43.783570 >     web_root.putChild('static', static.File(os.path.join(os.path.dirname(sys.argv[0]), 'web-static')))
2012-10-24 06:47:43.783619 > exceptions.KeyError: 'desired_version_rates'
member
Activity: 86
Merit: 10
just says testing bitcoind rpc connection to 'http://127.0.0.1:9332 with username X

then

error while checking bitcoin connection

my litecoin is running on server 10332 because i am also running a p2pool connection for bitcoin on the 9332 and 9333 ports can i force the p2pool to look on an alternate port?

Maybe try starting run_p2pool.exe from the command-line? It sounds like p2pool isn't receiving the "--net litecoin" argument at all...

same response now still launches looking for a connection on port 9332 9333 can i force it to look on a different port?

Yes, there's the --bitcoind-rpc-port and --bitcoind-p2p-port arguments. Try running "run_p2pool.exe --help".

forcing the ports with those commands seems to have fixed the problem thank you for the help.
hero member
Activity: 516
Merit: 643
just says testing bitcoind rpc connection to 'http://127.0.0.1:9332 with username X

then

error while checking bitcoin connection

my litecoin is running on server 10332 because i am also running a p2pool connection for bitcoin on the 9332 and 9333 ports can i force the p2pool to look on an alternate port?

Maybe try starting run_p2pool.exe from the command-line? It sounds like p2pool isn't receiving the "--net litecoin" argument at all...

same response now still launches looking for a connection on port 9332 9333 can i force it to look on a different port?

Yes, there's the --bitcoind-rpc-port and --bitcoind-p2p-port arguments. Try running "run_p2pool.exe --help".
member
Activity: 86
Merit: 10
just says testing bitcoind rpc connection to 'http://127.0.0.1:9332 with username X

then

error while checking bitcoin connection

my litecoin is running on server 10332 because i am also running a p2pool connection for bitcoin on the 9332 and 9333 ports can i force the p2pool to look on an alternate port?

Maybe try starting run_p2pool.exe from the command-line? It sounds like p2pool isn't receiving the "--net litecoin" argument at all...

same response now still launches looking for a connection on port 9332 9333 can i force it to look on a different port?
hero member
Activity: 516
Merit: 643
just says testing bitcoind rpc connection to 'http://127.0.0.1:9332 with username X

then

error while checking bitcoin connection

my litecoin is running on server 10332 because i am also running a p2pool connection for bitcoin on the 9332 and 9333 ports can i force the p2pool to look on an alternate port?

Maybe try starting run_p2pool.exe from the command-line? It sounds like p2pool isn't receiving the "--net litecoin" argument at all...
member
Activity: 86
Merit: 10
i am having problems compiling for use with litecoin i keep receiving the following error any help???

C:\p2pool\litecoin_scrypt>C:\Python27\python.exe setup.py build --compile=mingw3
2 install
running build
running build_ext
building 'ltc_scrypt' extension
creating build
creating build\temp.win32-2.7
creating build\temp.win32-2.7\Release
gcc -mno-cygwin -mdll -O -Wall -I. -IC:\Python27\include -IC:\Python27\PC -c scr
yptmodule.c -o build\temp.win32-2.7\Release\scryptmodule.o
error: command 'gcc' failed: No such file or directory

Windows 7 64bit all the recommended packages were installed

You do know about the Windows binaries, right? If you don't want to use them, you can unzip the Windows binary to extract ltc_scrypt.pyd and use it.

If you're set on compiling that library yourself, you need to install MinGW.

I tried the binaries i just figured i was doing something wrong when the p2pool exe would not run in litecoin mode. I added run_p2pool.exe" --net litecoin user password to my shortcut but the file still insists on looking for the bitcoin rpc server not the litecoin.

Some messages on the console still mention "bitcoind" even if it's trying to connect to litecoind. Maybe pastebin the output?

just says testing bitcoind rpc connection to 'http://127.0.0.1:9332 with username X

then

error while checking bitcoin connection

my litecoin is running on server 10332 because i am also running a p2pool connection for bitcoin on the 9332 and 9333 ports can i force the p2pool to look on an alternate port?
hero member
Activity: 516
Merit: 643
i am having problems compiling for use with litecoin i keep receiving the following error any help???

C:\p2pool\litecoin_scrypt>C:\Python27\python.exe setup.py build --compile=mingw3
2 install
running build
running build_ext
building 'ltc_scrypt' extension
creating build
creating build\temp.win32-2.7
creating build\temp.win32-2.7\Release
gcc -mno-cygwin -mdll -O -Wall -I. -IC:\Python27\include -IC:\Python27\PC -c scr
yptmodule.c -o build\temp.win32-2.7\Release\scryptmodule.o
error: command 'gcc' failed: No such file or directory

Windows 7 64bit all the recommended packages were installed

You do know about the Windows binaries, right? If you don't want to use them, you can unzip the Windows binary to extract ltc_scrypt.pyd and use it.

If you're set on compiling that library yourself, you need to install MinGW.

I tried the binaries i just figured i was doing something wrong when the p2pool exe would not run in litecoin mode. I added run_p2pool.exe" --net litecoin user password to my shortcut but the file still insists on looking for the bitcoin rpc server not the litecoin.

Some messages on the console still mention "bitcoind" even if it's trying to connect to litecoind. Maybe pastebin the output?
member
Activity: 86
Merit: 10
i am having problems compiling for use with litecoin i keep receiving the following error any help???

C:\p2pool\litecoin_scrypt>C:\Python27\python.exe setup.py build --compile=mingw3
2 install
running build
running build_ext
building 'ltc_scrypt' extension
creating build
creating build\temp.win32-2.7
creating build\temp.win32-2.7\Release
gcc -mno-cygwin -mdll -O -Wall -I. -IC:\Python27\include -IC:\Python27\PC -c scr
yptmodule.c -o build\temp.win32-2.7\Release\scryptmodule.o
error: command 'gcc' failed: No such file or directory

Windows 7 64bit all the recommended packages were installed

You do know about the Windows binaries, right? If you don't want to use them, you can unzip the Windows binary to extract ltc_scrypt.pyd and use it.

If you're set on compiling that library yourself, you need to install MinGW.

I tried the binaries i just figured i was doing something wrong when the p2pool exe would not run in litecoin mode. I added run_p2pool.exe" --net litecoin user password to my shortcut but the file still insists on looking for the bitcoin rpc server not the litecoin.
hero member
Activity: 516
Merit: 643
i am having problems compiling for use with litecoin i keep receiving the following error any help???

C:\p2pool\litecoin_scrypt>C:\Python27\python.exe setup.py build --compile=mingw3
2 install
running build
running build_ext
building 'ltc_scrypt' extension
creating build
creating build\temp.win32-2.7
creating build\temp.win32-2.7\Release
gcc -mno-cygwin -mdll -O -Wall -I. -IC:\Python27\include -IC:\Python27\PC -c scr
yptmodule.c -o build\temp.win32-2.7\Release\scryptmodule.o
error: command 'gcc' failed: No such file or directory

Windows 7 64bit all the recommended packages were installed

You do know about the Windows binaries, right? If you don't want to use them, you can unzip the Windows binary to extract ltc_scrypt.pyd and use it.

If you're set on compiling that library yourself, you need to install MinGW.
Jump to: