hi again ... ok i am trying to setup a fastcoin pool .... here are my settings..
fastcoin=math.Object(
PARENT=networks.nets['fastcoin'],
SHARE_PERIOD=9,
CHAIN_LENGTH=24*60*60//10,
REAL_CHAIN_LENGTH=24*60*60//10,
TARGET_LOOKBEHIND=200,
SPREAD=150,
IDENTIFIER=''.decode('hex'),
PREFIX=''.decode('hex'),
P2P_PORT=50010,
MIN_TARGET=0,
MAX_TARGET=2**256//2**20 - 1,
PERSIST=False,
WORKER_PORT=19328,
BOOTSTRAP_ADDRS=''.split(' '),
ANNOUNCE_CHANNEL='#p2pool-alt',
VERSION_CHECK=lambda v: True,
),
fastcoin=math.Object(
P2P_PREFIX='fbc0b6db'.decode('hex'),
P2P_PORT=9526,
ADDRESS_VERSION=96,
RPC_PORT=9527,
RPC_CHECK=defer.inlineCallbacks(lambda bitcoind: defer.returnValue(
'fastcoinaddress' in (yield bitcoind.rpc_help()) and
not (yield bitcoind.rpc_getinfo())['testnet']
)),
SUBSIDY_FUNC=lambda height: 32*100000000 >> (height + 1)//2592000,
POW_FUNC=lambda data: pack.IntType(256).unpack(__import__('ltc_scrypt').getPoWHash(data)),
BLOCK_PERIOD=150,
SYMBOL='FSC',
CONF_FILE_FUNC=lambda: os.path.join(os.path.join(os.environ['APPDATA'], 'Fastcoin') if platform.system() == 'Windows' else os.path.expanduser('~/Library/Application Support/fastcoin/') if platform.system() == 'Darwin' else os.path.expanduser('~/.fastcoin'), 'fastcoin.conf'),
BLOCK_EXPLORER_URL_PREFIX='',
ADDRESS_EXPLORER_URL_PREFIX='',
SANE_TARGET_RANGE=(2**256//1000000000 - 1, 2**256//1000 - 1),
DUMB_SCRYPT_DIFF=2**16,
),
but i always get this error when i try to run on python
2013-06-14 19:12:36.783384 > Traceback (most recent call last):
2013-06-14 19:12:36.783529 > File "run_p2pool.py", line 5, in
2013-06-14 19:12:36.783662 > main.run()
2013-06-14 19:12:36.783774 > File "/root/p2pool-fsc/p2pool/main.py", line 576, in run
2013-06-14 19:12:36.783888 > reactor.run()
2013-06-14 19:12:36.784061 > File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1169, in run
2013-06-14 19:12:36.784176 > self.mainLoop()
2013-06-14 19:12:36.784290 > File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1178, in mainLoop
2013-06-14 19:12:36.784400 > self.runUntilCurrent()
2013-06-14 19:12:36.784511 > --- ---
2013-06-14 19:12:36.784659 > File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 800, in runUntilCurrent
2013-06-14 19:12:36.784777 > call.func(*call.args, **call.kw)
2013-06-14 19:12:36.784892 > File "/root/p2pool-fsc/p2pool/bitcoin/stratum.py", line 35, in _send_work
2013-06-14 19:12:36.785004 > x, got_response = self.wb.get_work(*self.wb.preprocess_request('' if self.username is None else self.username))
2013-06-14 19:12:36.785113 > File "/root/p2pool-fsc/p2pool/bitcoin/worker_interface.py", line 122, in get_work
2013-06-14 19:12:36.785223 > x, handler = self._inner.get_work(*args)
2013-06-14 19:12:36.785333 > File "/root/p2pool-fsc/p2pool/work.py", line 238, in get_work
2013-06-14 19:12:36.785443 > base_subsidy=self.node.net.PARENT.SUBSIDY_FUNC(self.current_work.value['height']),
2013-06-14 19:12:36.785549 > File "/root/p2pool-fsc/p2pool/data.py", line 197, in generate_transaction
2013-06-14 19:12:36.785660 > script='\x24' + cls.get_ref_hash(net, share_info, ref_merkle_link) + pack.IntType(32).pack(last_txout_nonce),
2013-06-14 19:12:36.785772 > File "/root/p2pool-fsc/p2pool/data.py", line 221, in get_ref_hash
2013-06-14 19:12:36.785881 > share_info=share_info,
2013-06-14 19:12:36.785977 > File "/root/p2pool-fsc/p2pool/util/pack.py", line 72, in pack
2013-06-14 19:12:36.786191 > data = self._pack(obj)
2013-06-14 19:12:36.787330 > File "/root/p2pool-fsc/p2pool/util/pack.py", line 52, in _pack
2013-06-14 19:12:36.787494 > f = self.write(None, obj)
2013-06-14 19:12:36.787626 > File "/root/p2pool-fsc/p2pool/util/pack.py", line 299, in write
2013-06-14 19:12:36.787757 > file = type_.write(file, item[key])
2013-06-14 19:12:36.787869 > File "/root/p2pool-fsc/p2pool/util/pack.py", line 325, in write
2013-06-14 19:12:36.787976 > raise ValueError('incorrect length item!')
2013-06-14 19:12:36.788087 > exceptions.ValueError: incorrect length item!
i hav setted up the pass and username. on python running code. but i always get this one
any ideas ?