Bitcoin Forum
October 20, 2017, 10:14:19 PM *
News: Latest stable version of Bitcoin Core: 0.15.0.1  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: « 1 2 [3] 4 5 6 7 8 9 10 »  All
  Print  
Author Topic: Finding p2pool networks.py values for new altcoins  (Read 36920 times)
napoleon2121
Sr. Member
****
Offline Offline

Activity: 266


View Profile
June 03, 2013, 01:13:03 PM
 #41

ok making the pool right now... wish me luck guys lol

ok it doesn't open the screen command.. here is it.

Code:
screen -d -m -S wdcpool ~/p2pool/run_p2pool.py --net worldcoin -a Wd7Jrk6Yeaq8Ztn1umQuv2sM2mRzgyo3Ut -f 2 --give-author 0 --w 19327 --bitcoind-p2p-port 11081 --bitcoind-rpc-port 11082 walletusername walletpassword

anyideas ?

also when i pull the run_p2pool.py help i get these errors

Code:
Traceback (most recent call last):
  File "./run_p2pool.py", line 3, in <module>
    from p2pool import main
ImportError: No module named p2pool
1508537659
Hero Member
*
Offline Offline

Posts: 1508537659

View Profile Personal Message (Offline)

Ignore
1508537659
Reply with quote  #2

1508537659
Report to moderator
1508537659
Hero Member
*
Offline Offline

Posts: 1508537659

View Profile Personal Message (Offline)

Ignore
1508537659
Reply with quote  #2

1508537659
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1508537659
Hero Member
*
Offline Offline

Posts: 1508537659

View Profile Personal Message (Offline)

Ignore
1508537659
Reply with quote  #2

1508537659
Report to moderator
1508537659
Hero Member
*
Offline Offline

Posts: 1508537659

View Profile Personal Message (Offline)

Ignore
1508537659
Reply with quote  #2

1508537659
Report to moderator
1508537659
Hero Member
*
Offline Offline

Posts: 1508537659

View Profile Personal Message (Offline)

Ignore
1508537659
Reply with quote  #2

1508537659
Report to moderator
napoleon2121
Sr. Member
****
Offline Offline

Activity: 266


View Profile
June 04, 2013, 07:42:39 PM
 #42

ok i managed to get the pools working with worldcoin. these are the settings i used..

Code:
worldcoin=math.Object(
        PARENT=networks.nets['worldcoin'],
        SHARE_PERIOD=180, # seconds
        CHAIN_LENGTH=24*60*60//10, # shares
        REAL_CHAIN_LENGTH=24*60*60//10, # shares
        TARGET_LOOKBEHIND=200, # shares
        SPREAD=30, # blocks
        IDENTIFIER=''.decode('hex'),
        PREFIX=''.decode('hex'),
        P2P_PORT=20000,
        MIN_TARGET=0,
        MAX_TARGET=2**256//2**20 - 1,
        PERSIST=False,
        WORKER_PORT=25359,
        BOOTSTRAP_ADDRS=''.split(' '),
        ANNOUNCE_CHANNEL='#p2pool-alt',
        VERSION_CHECK=lambda v: True,
    ),
also

Code:
worldcoin=math.Object(
        P2P_PREFIX='fbc0b6db'.decode('hex'),
        P2P_PORT=11081,
        ADDRESS_VERSION=73,
        RPC_PORT=11082,
        RPC_CHECK=defer.inlineCallbacks(lambda bitcoind: defer.returnValue(
            'worldcoinaddress' in (yield bitcoind.rpc_help()) and
            not (yield bitcoind.rpc_getinfo())['testnet']
        )),
        SUBSIDY_FUNC=lambda height: 1*10000000 >> (height + 1)//1080000,
        POW_FUNC=lambda data: pack.IntType(256).unpack(__import__('ltc_scrypt').getPoWHash(data)),
        BLOCK_PERIOD=30, # s
        SYMBOL='WDC',
        CONF_FILE_FUNC=lambda: os.path.join(os.path.join(os.environ['APPDATA'], 'worldcoin') if platform.system() == 'Windows' else os.path.expanduser('~/Library/Application Support/worldcoin/') if platform.system() == 'Darwin' else os.path.expanduser('~/.worldcoin'), 'worldcoin.conf'),
        BLOCK_EXPLORER_URL_PREFIX='',
        ADDRESS_EXPLORER_URL_PREFIX='',
        SANE_TARGET_RANGE=(2**256//100000000 - 1, 2**256//1000 - 1),
DUMB_SCRYPT_DIFF=2**16,
    ),

but now i am getting this error when it starts up

Code:
2013-06-04 21:43:20.587175 >   File "run_p2pool.py", line 5, in <module>
2013-06-04 21:43:20.587319 >     main.run()
2013-06-04 21:43:20.587442 >   File "/root/p2pool-altcoins/p2pool/main.py", line 576, in run
2013-06-04 21:43:20.587566 >     reactor.run()
2013-06-04 21:43:20.587689 >   File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1169, in run
2013-06-04 21:43:20.587814 >     self.mainLoop()
2013-06-04 21:43:20.587937 >   File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1178, in mainLoop
2013-06-04 21:43:20.588064 >     self.runUntilCurrent()
2013-06-04 21:43:20.588177 > --- <exception caught here> ---
2013-06-04 21:43:20.588326 >   File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 800, in runUntilCurrent
2013-06-04 21:43:20.588442 >     call.func(*call.args, **call.kw)
2013-06-04 21:43:20.588557 >   File "/root/p2pool-altcoins/p2pool/bitcoin/stratum.py", line 35, in _send_work
2013-06-04 21:43:20.588674 >     x, got_response = self.wb.get_work(*self.wb.preprocess_request('' if self.username is None else self.username))
2013-06-04 21:43:20.588792 >   File "/root/p2pool-altcoins/p2pool/bitcoin/worker_interface.py", line 122, in get_work
2013-06-04 21:43:20.588907 >     x, handler = self._inner.get_work(*args)
2013-06-04 21:43:20.589022 >   File "/root/p2pool-altcoins/p2pool/work.py", line 238, in get_work
2013-06-04 21:43:20.589136 >     base_subsidy=self.node.net.PARENT.SUBSIDY_FUNC(self.current_work.value['height']),
2013-06-04 21:43:20.589251 >   File "/root/p2pool-altcoins/p2pool/data.py", line 197, in generate_transaction
2013-06-04 21:43:20.589367 >     script='\x24' + cls.get_ref_hash(net, share_info, ref_merkle_link) + pack.IntType(32).pack(last_txout_nonce),
2013-06-04 21:43:20.589523 >   File "/root/p2pool-altcoins/p2pool/data.py", line 221, in get_ref_hash
2013-06-04 21:43:20.589643 >     share_info=share_info,
2013-06-04 21:43:20.589756 >   File "/root/p2pool-altcoins/p2pool/util/pack.py", line 72, in pack
2013-06-04 21:43:20.589870 >     data = self._pack(obj)
2013-06-04 21:43:20.589985 >   File "/root/p2pool-altcoins/p2pool/util/pack.py", line 52, in _pack
2013-06-04 21:43:20.590099 >     f = self.write(None, obj)
2013-06-04 21:43:20.590213 >   File "/root/p2pool-altcoins/p2pool/util/pack.py", line 299, in write
2013-06-04 21:43:20.590327 >     file = type_.write(file, item[key])
2013-06-04 21:43:20.590441 >   File "/root/p2pool-altcoins/p2pool/util/pack.py", line 325, in write
2013-06-04 21:43:20.590555 >     raise ValueError('incorrect length item!')
2013-06-04 21:43:20.590669 > exceptions.ValueError: incorrect length item
napoleon2121
Sr. Member
****
Offline Offline

Activity: 266


View Profile
June 06, 2013, 08:27:50 PM
 #43

ok guys for SPREAD this is the corect settings.


bitcoin SPREAD=3 block every 600 seconds           Baseline
litecoin SPREAD=12 block every 150 seconds         600/150=4       4x3=12
bbqcoin SPREAD=30 block every 60 seconds          600/60=10       10x3=30
digitalcoin SPREAD=90 block every 20 seconds       600/20=30       30x3=90
worldcoin SPREAD=120 block every 15 seconds      600/15=40       40x3=120

sa i found out in one post here and there.


anyone found anything for HYC?
walf_man
Member
**
Offline Offline

Activity: 112


View Profile
June 07, 2013, 10:50:47 AM
 #44

very great!
nice!
napoleon2121
Sr. Member
****
Offline Offline

Activity: 266


View Profile
June 07, 2013, 03:47:33 PM
 #45

does anyone wanna help me making a p2pool for hypercoin ?
WOPR
Full Member
***
Offline Offline

Activity: 168


View Profile
June 08, 2013, 11:27:28 AM
 #46

does anyone wanna help me making a p2pool for hypercoin ?

The main difference in HYC is a blank in 'hypercoin address':

p2pool/bitcoin/networks.py
Code:
        RPC_CHECK=defer.inlineCallbacks(lambda bitcoind: defer.returnValue(
            'hypercoin address' in (yield bitcoind.rpc_help()) and
            not (yield bitcoind.rpc_getinfo())['testnet']
        )),

Also must be change the P2P_PREFIX:
Code:
        P2P_PREFIX='fcd9b7dd'.decode('hex'),

BTC 1woprwQ1vqwLcjEtcB42WQ4Vf9x9yTJAj  LTC  LWoprkMfssBfQTnaQud1du3wPtTUosu7Ne PPC PWoprJqTqH8sWUjuJsS1SfoE2guFbiFFAj
ICN BWopr1Az73zt9NKarnWa37BRxZJ1ZvJK6c DOGE D5woprc7AbQvfb1b6EJDuzmCCtFA7LE5QK SXC S1woprYT96eY6v2KieiCRU9241Qha5UPqg

My pools:  ICN | DOGE | SXC
napoleon2121
Sr. Member
****
Offline Offline

Activity: 266


View Profile
June 08, 2013, 03:39:21 PM
 #47

ok how did you found this couse i was trying to find this for days.

also what about nSubsidy. at the code it should be like nSubsidy >>= (nHeight number.) but in this coin it has 25*coins and something under it. alll the rest are the sane. somehow
WOPR
Full Member
***
Offline Offline

Activity: 168


View Profile
June 08, 2013, 03:50:29 PM
 #48

ok how did you found this couse i was trying to find this for days.

also what about nSubsidy. at the code it should be like nSubsidy >>= (nHeight number.) but in this coin it has 25*coins and something under it. alll the rest are the sane. somehow

It seems that subsidy never halves (until reach max money), then:
Code:
        SUBSIDY_FUNC=lambda height: 25*10000000,

You can find the 'xcoinaddress' string in src/rpcdump.cpp, searching 'dumpprivkey <'


BTC 1woprwQ1vqwLcjEtcB42WQ4Vf9x9yTJAj  LTC  LWoprkMfssBfQTnaQud1du3wPtTUosu7Ne PPC PWoprJqTqH8sWUjuJsS1SfoE2guFbiFFAj
ICN BWopr1Az73zt9NKarnWa37BRxZJ1ZvJK6c DOGE D5woprc7AbQvfb1b6EJDuzmCCtFA7LE5QK SXC S1woprYT96eY6v2KieiCRU9241Qha5UPqg

My pools:  ICN | DOGE | SXC
PSL
Member
**
Offline Offline

Activity: 113


View Profile
June 08, 2013, 04:05:31 PM
 #49

does anyone wanna help me making a p2pool for hypercoin ?

https://109.201.133.65/index.php?topic=222956.msg2391757#msg2391757
napoleon2121
Sr. Member
****
Offline Offline

Activity: 266


View Profile
June 11, 2013, 03:02:45 PM
 #50

hi again guys.

i hav made a pool for WDC it's working perfecty for some days now. but still i hav a small problem. i get like 10% DOA and i am really pissed off by that.

this is the code i hav. i need to change anything couse i think i hav made a mistake somewhere

Code:
worldcoin=math.Object(
        PARENT=networks.nets['worldcoin'],
        SHARE_PERIOD=15,
        CHAIN_LENGTH=24*60*60//10,
        REAL_CHAIN_LENGTH=24*60*60//10,
        TARGET_LOOKBEHIND=200,
        SPREAD=30,
        IDENTIFIER='e021a7b8c602421f'.decode('hex'),
        PREFIX='e280193ae6b8617b'.decode('hex'),
        P2P_PORT=5001,
        MIN_TARGET=0,
        MAX_TARGET=2**256//2**20 - 1,
        PERSIST=False,
        WORKER_PORT=19335,
        BOOTSTRAP_ADDRS=''.split(' '),
        ANNOUNCE_CHANNEL='#p2pool-worldcoin',
        VERSION_CHECK=lambda v: True,
    ),
CartmanSPC
Legendary
*
Offline Offline

Activity: 1258



View Profile WWW
June 12, 2013, 08:07:35 AM
 #51

ok guys for SPREAD this is the corect settings.


bitcoin SPREAD=3 block every 600 seconds           Baseline
litecoin SPREAD=12 block every 150 seconds         600/150=4       4x3=12
bbqcoin SPREAD=30 block every 60 seconds          600/60=10       10x3=30
casinocoin SPREAD=60 block every 30 seconds      600/30=20        20x3=60
digitalcoin SPREAD=90 block every 20 seconds       600/20=30       30x3=90 (old spec)
digitalcoin SPREAD=45 block every 40 seconds       600/40=15       15x3=45  (new spec)
worldcoin SPREAD=120 block every 15 seconds      600/15=40       40x3=120 (old spec)
worldcoin SPREAD=60 block every 30 seconds       600/30=20        20x3=60  (new spec)

sa i found out in one post here and there.


anyone found anything for HYC?

I posted those settings from research but do not know if my assumptions are correct.

I use them for my pools and they seem to work correctly but it's hard to say what would happen if a bunch of other p2pools decided to connect. Brought up some other p2pools to simulate other pools connecting but without a lot of hash rate at the other nodes my results were promising but inconclusive.

napoleon2121
Sr. Member
****
Offline Offline

Activity: 266


View Profile
June 12, 2013, 03:04:26 PM
 #52

they are correct and working cartman... thx for that info it was great help for the pools Cheesy

napoleon2121
Sr. Member
****
Offline Offline

Activity: 266


View Profile
June 12, 2013, 06:51:47 PM
 #53

 Check failed! Make sure that you're connected to the right bitcoind with --bitcoind-rpc-port!

the ports are correct. any ideas ?
CartmanSPC
Legendary
*
Offline Offline

Activity: 1258



View Profile WWW
June 12, 2013, 07:05:15 PM
 #54

Check failed! Make sure that you're connected to the right bitcoind with --bitcoind-rpc-port!

the ports are correct. any ideas ?

I imagine you are trying to do a pool for HyperCoin? The devs messed up on the ports being used. To make matters worse the original post for the announcement had the wrong ports as well. In that thread I pointed it out. They graciously gave me a donation Smiley

Look up the announcement thread for the port information. I forget off the top of my head but it is there. The default ports were something like 5 digits for one and 4 for the other.


Kyune
Sr. Member
****
Offline Offline

Activity: 287


View Profile
June 12, 2013, 07:46:22 PM
 #55

For future reference, you can find the P2P_PORT in the coin's source code in the protocol.h file, it's the 2nd value after GetDefaultPort.

You can find RPC_PORT in the source code in the bitcoinrpc.cpp file, look for GetArg (-rpcport, xxxx), where xxxx is the port.

I'm talking about the values you would specify in the bnetworks.py file.




BTC:  1K4VpdQXQhgmTmq68rbWhybvoRcyNHKyVP
whitedragon
Member
**
Offline Offline

Activity: 84



View Profile
June 13, 2013, 01:36:10 AM
 #56

For future reference, you can find the P2P_PORT in the coin's source code in the protocol.h file, it's the 2nd value after GetDefaultPort.

You can find RPC_PORT in the source code in the bitcoinrpc.cpp file, look for GetArg (-rpcport, xxxx), where xxxx is the port.

I'm talking about the values you would specify in the bnetworks.py file.





Just to confirm what I *think* I know....

These values can be specified in the *.conf file as well can't they?  (To match bnetwrks.py)
napoleon2121
Sr. Member
****
Offline Offline

Activity: 266


View Profile
June 13, 2013, 12:09:43 PM
 #57

no idea... i found the problem with that .... it wants that in linux .conf file

ipcallowip=127.0.0.1
not
rpcconnect=127.0.0.1

now i am getting a huge nubmer or errors that i can't find... i make everything like i do to most coin pools. that means:

i find the address for PUBLIC ADDRESS from base58.h
i find height or something like that from  nSubsidy >>= (nHeight / 8400000); from main.cpp
i change the port and rpc port at networks.py
i change the worker port and the other port that connect the pools.
i delete the IDENTIFY AND PREFIX i leave them like that (don't couse me any problems for solo pools)
Code:
IDENTIFIER=''.decode('hex'),
        PREFIX=''.decode('hex'),

i change the helper.py with or 'netowrkname' like this

Code:
if 'lite' in net.NAME or 'feather' in net.NAME or 'chn' in net.NAME or 'franko' in net.NAME or 'digital' in net.NAME or 'worldcoin' in net.NAME:

what else. and i run with python. (i create the screen first)

but then let's say for fastcoin i get like 2 pages errors .....

i also hav no idea what this is

Code:
CHAIN_LENGTH=24*60*60//10, # shares
REAL_CHAIN_LENGTH=24*60*60//10, # shares
SHARE_PERIOD=10, # seconds

and on the other networks.py this one and how i can translate it

Code:
P2P_PREFIX='f9beb4d9'.decode('hex'),
whitedragon
Member
**
Offline Offline

Activity: 84



View Profile
June 14, 2013, 03:00:12 AM
 #58

no idea... i found the problem with that .... it wants that in linux .conf file

ipcallowip=127.0.0.1
not
rpcconnect=127.0.0.1

now i am getting a huge nubmer or errors that i can't find... i make everything like i do to most coin pools. that means:

i find the address for PUBLIC ADDRESS from base58.h
i find height or something like that from  nSubsidy >>= (nHeight / 8400000); from main.cpp
i change the port and rpc port at networks.py
i change the worker port and the other port that connect the pools.
i delete the IDENTIFY AND PREFIX i leave them like that (don't couse me any problems for solo pools)
Code:
IDENTIFIER=''.decode('hex'),
        PREFIX=''.decode('hex'),

i change the helper.py with or 'netowrkname' like this

Code:
if 'lite' in net.NAME or 'feather' in net.NAME or 'chn' in net.NAME or 'franko' in net.NAME or 'digital' in net.NAME or 'worldcoin' in net.NAME:

what else. and i run with python. (i create the screen first)

but then let's say for fastcoin i get like 2 pages errors .....

i also hav no idea what this is

Code:
CHAIN_LENGTH=24*60*60//10, # shares
REAL_CHAIN_LENGTH=24*60*60//10, # shares
SHARE_PERIOD=10, # seconds

and on the other networks.py this one and how i can translate it

Code:
P2P_PREFIX='f9beb4d9'.decode('hex'),



The P2P_PREFIX was explained by Kyune here:



I think I may have figured this out.  I had been bumping into the same problem (stalling at the P2P connection) on some coins but not others.  I finally realized I was wrong in an initial assumption...the P2P_PREFIX setting in bitcoin/networks.py is in fact a coin-specific setting -- which is logical, as the other settings in that file are coin-specific as well.   In fact, it looks like it is basically the "magic value" or "magic number" referred to in https://en.bitcoin.it/wiki/Protocol_specification, and after poking around in the code I think you can find it in main.cpp at pchMessageStart[4]=...  Using this specific value as the P2P_PREFIX fixed the problem for me.

So, for example, I haven't ever installed Dragoncoin myself, but looking quickly at the relevant line in main.cpp:

Code:
unsigned char pchMessageStart[4] = { 0xfc, 0xd9, 0xb7, 0xdd };

Thus, for Dragoncoin, try setting

Code:
P2P_PREFIX='fcd9b7dd'.decode('hex'),

and let us know if that gets you past stalling at the P2P connection.

Hope this is helpful.


I can't really help with the chain length as it is confusing to me too.
Kyune
Sr. Member
****
Offline Offline

Activity: 287


View Profile
June 14, 2013, 04:24:09 AM
 #59

For future reference, you can find the P2P_PORT in the coin's source code in the protocol.h file, it's the 2nd value after GetDefaultPort.

You can find RPC_PORT in the source code in the bitcoinrpc.cpp file, look for GetArg (-rpcport, xxxx), where xxxx is the port.

I'm talking about the values you would specify in the bnetworks.py file.





Just to confirm what I *think* I know....

These values can be specified in the *.conf file as well can't they?  (To match bnetwrks.py)
That is my understanding, yes.  The above just lets you find the defaults if the coin dev doesn't accurately document the default ports, which does happen.

BTC:  1K4VpdQXQhgmTmq68rbWhybvoRcyNHKyVP
napoleon2121
Sr. Member
****
Offline Offline

Activity: 266


View Profile
June 14, 2013, 05:02:17 PM
 #60

hi again ... ok i am trying to setup a fastcoin pool ....  here are my settings..


Code:
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,
    ),

Code:
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

Code:
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 <module>
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 > --- <exception caught here> ---
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 ?


Pages: « 1 2 [3] 4 5 6 7 8 9 10 »  All
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!