testing this code:
def get_subsidy(nCap, nMaxSubsidy, bnTarget):
return int(.25 * 31000000)
nets = dict(
Orbitcoin=math.Object(
P2P_PREFIX='e4efdbfd'.decode('hex'),
P2P_PORT=15298,
ADDRESS_VERSION=115,
RPC_PORT=15299,
RPC_CHECK=defer.inlineCallbacks(lambda bitcoind: defer.returnValue(
'Orbitcoinaddress' in (yield bitcoind.rpc_help()) and
not (yield bitcoind.rpc_getinfo())['testnet']
)),
SUBSIDY_FUNC=lambda target: get_subsidy(1, 1, target),
BLOCKHASH_FUNC=lambda data: pack.IntType(256).unpack(__import__('ltc_scrypt').getPoWHash(data)),
POW_FUNC=lambda data: pack.IntType(256).unpack(__import__('ltc_scrypt').getPoWHash(data)),
BLOCK_PERIOD=30, # s
SYMBOL='ORB',
CONF_FILE_FUNC=lambda: os.path.join(os.path.join(os.environ['APPDATA'], 'Orbitcoin') if platform.system() == 'Windows' else os.path.expanduser('~/Library/Application Support/Orbitcoin/') if platform.system() == 'Darwin' else os.path.expanduser('~/.Orbitcoin'), 'Orbitcoin.conf'),
BLOCK_EXPLORER_URL_PREFIX='http://orb.blockexplorer.com/block/',
ADDRESS_EXPLORER_URL_PREFIX='http://orb.blockexplorer.com/address/',
SANE_TARGET_RANGE=(2**256//2**20//1000 - 1, 2**256//2**20 - 1),
),
having this error:
2013-09-19 18:51:11.835609 P2Pool: 700 shares in chain (700 verified/700 total) Peers: 0 (0 incoming)
2013-09-19 18:51:11.840206 Local: 131kH/s in last 10.0 minutes Local dead on arrival: ~0.0% (0-5%) Expected time to share: 28.0 seconds
2013-09-19 18:51:11.841260 Shares: 79 (0 orphan, 0 dead) Stale rate: ~0.0% (0-5%) Efficiency: ~100.0% (95-100%) Current payout: 0.0106 ORB
2013-09-19 18:51:11.842207 Pool: 118kH/s Stale rate: 0.0% Expected time to block: 51.4 minutes
2013-09-19 18:51:13.766930 RECV tx 020000007d2b3b520fb8950f4e3a315f2d3f86c4936ec6acee0672d82c133143cfa41f2e30a6511
9a9000000004a49304602210085e4dea29d7aa4e2b7a5710e60d97d7b495ea002323e42bf821077
31f92522a80221008ef62cbfa31644e80fd372ddf5...
2013-09-19 18:51:13.775933 > Error handling message: (see RECV line)
2013-09-19 18:51:13.779800 > Traceback (most recent call last):
2013-09-19 18:51:13.780828 > File "/usr/lib/python2.7/dist-packages/twisted/internet/posixbase.py", line 586, in _doReadOrWrite
2013-09-19 18:51:13.781747 > why = selectable.doRead()
2013-09-19 18:51:13.782717 > File "/usr/lib/python2.7/dist-packages/twisted/internet/tcp.py", line 199, in doRead
2013-09-19 18:51:13.783661 > rval = self.protocol.dataReceived(data)
2013-09-19 18:51:13.784535 > File "/home/p2pool/p2pool/util/p2protocol.py", line 26, in dataReceived
2013-09-19 18:51:13.785411 > self.dataReceived2(data)
2013-09-19 18:51:13.785639 > File "/home/p2pool/p2pool/util/datachunker.py", line 40, in _DataChunker
2013-09-19 18:51:13.786424 > wants = receiver.send(buf.get(wants))
2013-09-19 18:51:13.786698 > ---
---
2013-09-19 18:51:13.786949 > File "/home/p2pool/p2pool/util/p2protocol.py", line 54, in dataReceiver
2013-09-19 18:51:13.787204 > self.packetReceived(command, type_.unpack(payload))
2013-09-19 18:51:13.787456 > File "/home/p2pool/p2pool/util/pack.py", line 63, in unpack
2013-09-19 18:51:13.790196 > obj = self._unpack(data)
2013-09-19 18:51:13.790413 > File "/home/p2pool/p2pool/util/pack.py", line 47, in _unpack
2013-09-19 18:51:13.790651 > raise LateEnd()
2013-09-19 18:51:13.790864 > p2pool.util.pack.LateEnd: