Post
Topic
Board Pools
Re: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool
by
xredirector
on 16/02/2018, 13:43:35 UTC
Thank you jtoomim for a difficulty hint, working through this.

trying Version: 33.3 from https://github.com/jtoomim/p2pool/releases and seeing below error 

Code:
2018-02-16 08:12:27.479200 Generating a share with 1033342 bytes (8442 new) and 1346 transactions (31 new)
Unhandled Error
Traceback (most recent call last):
  File "/home/bitcoin/p2pool-33.3/p2pool/main.py", line 692, in run
    reactor.run()
  File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1194, in run
    self.mainLoop()
  File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1203, in mainLoop
    self.runUntilCurrent()
  File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 825, in runUntilCurrent
    call.func(*call.args, **call.kw)
--- ---
  File "/home/bitcoin/p2pool-33.3/p2pool/bitcoin/stratum.py", line 38, in _send_work
    x, got_response = self.wb.get_work(*self.wb.preprocess_request('' if self.username is None else self.username))
  File "/home/bitcoin/p2pool-33.3/p2pool/bitcoin/worker_interface.py", line 129, in get_work
    x, handler = self._inner.get_work(*args)
  File "/home/bitcoin/p2pool-33.3/p2pool/work.py", line 358, in get_work
    self.node.bitcoind_work.value['bits'].target)*self.node.net.SPREAD)*self.node.net.PARENT.DUST_THRESHOLD/block_subsidy))
exceptions.UnboundLocalError: local variable 'block_subsidy' referenced before assignment

in bitcoin daemon have the following:

Code:
blockmaxsize=1000000
blockmaxweight=4000000
mintxfee=0.00002
minrelaytxfee=0.00002

This could be a result of me playing with "username" format to pass difficulty...

[Q1] I will try other releases meantime. Lost in which one is THE one for jtoomim, can you help?