Ok new error, looks like there's something wrong in the coin settings, its Netcoin (cryptomunity.pw).
2013-11-03 04:15:08.193449 > Error in DeferredResource handler:
2013-11-03 04:15:08.193679 > Traceback (most recent call last):
2013-11-03 04:15:08.193804 > File "/home/netcoin/newpool/p2pool-altcoins/p2pool/util/deferred_resource.py", line 24, in render
2013-11-03 04:15:08.193925 > defer.maybeDeferred(resource.Resource.render, self, request).addCallbacks(finish, finish_error)
2013-11-03 04:15:08.194044 > File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 134, in maybeDeferred
2013-11-03 04:15:08.194160 > result = f(*args, **kw)
2013-11-03 04:15:08.194274 > File "/usr/lib/python2.7/dist-packages/twisted/web/resource.py", line 216, in render
2013-11-03 04:15:08.194388 > return m(request)
2013-11-03 04:15:08.194501 > File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1181, in unwindGenerator
2013-11-03 04:15:08.194617 > return _inlineCallbacks(None, gen, Deferred())
2013-11-03 04:15:08.194730 > --- ---
2013-11-03 04:15:08.194816 > File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1039, in _inlineCallbacks
2013-11-03 04:15:08.194900 > result = g.send(result)
2013-11-03 04:15:08.194980 > File "/home/netcoin/newpool/p2pool-altcoins/p2pool/web.py", line 196, in render_GET
2013-11-03 04:15:08.195064 > res = yield self.func(*self.args)
2013-11-03 04:15:08.195145 > File "/home/netcoin/newpool/p2pool-altcoins/p2pool/web.py", line 329, in
2013-11-03 04:15:08.195259 > new_root.putChild('best_share_hash', WebInterface(lambda: '%064x' % node.best_share_var.value))
2013-11-03 04:15:08.195375 > exceptions.TypeError: %x format: a number is required, not NoneType
My configs looks like this:
networks.py:
netcoin=math.Object(
PARENT=networks.nets['netcoin'],
SHARE_PERIOD=60, # seconds
CHAIN_LENGTH=24*60*60//10, # shares
REAL_CHAIN_LENGTH=24*60*60//10, # shares
TARGET_LOOKBEHIND=100, # shares
SPREAD=30, # blocks
IDENTIFIER='aeaed5b8c6923410'.decode('hex'),
PREFIX='aeaec1a53ef629b0'.decode('hex'),
P2P_PORT=11315,
MIN_TARGET=0,
MAX_TARGET=2**256//2**32 - 1,
PERSIST=False,
WORKER_PORT=5432,
BOOTSTRAP_ADDRS='forre.st vps.forre.st'.split(' '),
ANNOUNCE_CHANNEL='#p2pool-alt',
VERSION_CHECK=lambda v: True,
),
bitcoin/networks.py:
netcoin=math.Object(
P2P_PREFIX='fdb6a5db'.decode('hex'),
P2P_PORT=11310,
ADDRESS_VERSION=112,
RPC_PORT=11311,
RPC_CHECK=defer.inlineCallbacks(lambda bitcoind: defer.returnValue(
'netcoinaddress' in (yield bitcoind.rpc_help()) and
not (yield bitcoind.rpc_getinfo())['testnet']
)),
SUBSIDY_FUNC=lambda height: 1024*320636160 >> (height + 1)//129600,
POW_FUNC=lambda data: pack.IntType(256).unpack(__import__('ltc_scrypt').getPoWHash(data)),
BLOCK_PERIOD=60, # s
SYMBOL='NET',
CONF_FILE_FUNC=lambda: os.path.join(os.path.join(os.environ['APPDATA'], 'NetCoin') if platform.system() == 'Windows' else os.path.expanduser('~/Library/Application Support/NetCoin/') if platform.system() == 'Darwin' else os.path.expanduser('~/.netcoin'), 'netcoin.conf'),
BLOCK_EXPLORER_URL_PREFIX='http://frawgie.hopto.org/search?q=',
ADDRESS_EXPLORER_URL_PREFIX='http://frawgie.hopto.org/search?q=',
SANE_TARGET_RANGE=(2**256//1000000000 - 1, 2**256//1000 - 1),
DUMB_SCRYPT_DIFF=2**16,
),
And the line in helper.py:
if 'lite' in net.NAME or 'feather' in net.NAME or 'chn' in net.NAME or 'franko' in net.NAME or 'net' in net.NAME:
Everything looks good but when I test mining on it I don't receive the block rewards, I get some few coins into the default address but nothing on the miners address, seems like the pool is not getting proper work from the wallet, or not what it expected.
Also the web interface trows this error every time I try to reload (F5) the page:
2013-11-03 04:20:27.208840 > Error in DeferredResource handler:
2013-11-03 04:20:27.209111 > Traceback (most recent call last):
2013-11-03 04:20:27.209257 > File "/home/netcoin/newpool/p2pool-altcoins/p2pool/util/deferred_resource.py", line 24, in render
2013-11-03 04:20:27.209402 > defer.maybeDeferred(resource.Resource.render, self, request).addCallbacks(finish, finish_error)
2013-11-03 04:20:27.209545 > File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 134, in maybeDeferred
2013-11-03 04:20:27.209686 > result = f(*args, **kw)
2013-11-03 04:20:27.209822 > File "/usr/lib/python2.7/dist-packages/twisted/web/resource.py", line 216, in render
2013-11-03 04:20:27.209960 > return m(request)
2013-11-03 04:20:27.210096 > File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1181, in unwindGenerator
2013-11-03 04:20:27.210235 > return _inlineCallbacks(None, gen, Deferred())
2013-11-03 04:20:27.210452 > --- ---
2013-11-03 04:20:27.210547 > File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1039, in _inlineCallbacks
2013-11-03 04:20:27.210636 > result = g.send(result)
2013-11-03 04:20:27.210719 > File "/home/netcoin/newpool/p2pool-altcoins/p2pool/web.py", line 196, in render_GET
2013-11-03 04:20:27.210804 > res = yield self.func(*self.args)
2013-11-03 04:20:27.210888 > File "/home/netcoin/newpool/p2pool-altcoins/p2pool/web.py", line 329, in
2013-11-03 04:20:27.210974 > new_root.putChild('best_share_hash', WebInterface(lambda: '%064x' % node.best_share_var.value))
2013-11-03 04:20:27.211058 > exceptions.TypeError: %x format: a number is required, not NoneType
This also is very odd:
2013-11-03 04:24:52.773275 New work for worker! Difficulty: 0.000096 Share difficulty: 1.000000 Total block value: 1024.000000 NET including 0 transactions
Could it be something with the block height or block calculation on the wallet?
Thanks!