moopless / stratum-mining-litecoin

This fork is no longer maintained. Please use https://github.com/ahmedbodi/stratum-mining
Other
38 stars 35 forks source link

Error with HoboNickels #86

Open techwebhosting opened 10 years ago

techwebhosting commented 10 years ago

I seem to be getting the following error when working with HoboNickels.

2013-12-29 14:43:36,736 ERROR template_registry # [Failure instance: Traceback: <class 'struct.error'>: unpack requires a string argument of length 4

I am assuming it has something to do with the block template, but I am not 100% sure.

Any help\guidance would be appreciated.

astalavister commented 10 years ago

Have you set key instead of simple wallet address in config? as i remember for HBN it must be so.

techwebhosting commented 10 years ago

Yes and when doing so it complains that the address isn't valid. The pub key is supposed to go in the same spot correct?

DJ Anderson Sent from my iPhone

On Dec 29, 2013, at 3:37 PM, "astalavister" notifications@github.com<mailto:notifications@github.com> wrote:

Have you set key instead of simple wallet address in config? as i remember for HBN it must be so.

— Reply to this email directly or view it on GitHubhttps://github.com/moopless/stratum-mining-litecoin/issues/86#issuecomment-31324771.

astalavister commented 10 years ago

Cant see now, havent working hbn wallet near. But from configs - it must be like so:

CENTRAL_WALLET = 'EnEcVj6txZ1tkTfrct77fzrKdJ4zdk1hbs' # local litecoin address where money goes

CENTRAL_WALLET = '02b7fdfce6543bf7ab389875f0ed1c65d712dad6985d5f0bf700045720ae7d98ef' There are some command on wallet which is generated that key.

techwebhosting commented 10 years ago

Thanks for the help so far.

That is the way that I did it.

When I start it with those settings I get the following error.

ERROR coinbaser # Wallet address ‘addressremovedforsafety' is NOT valid! Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/Twisted-13.2.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py", line 1099, in _inlineCallbacks result = g.send(result) File "/home/username/stratum-mining/lib/bitcoin_rpc.py", line 88, in validateaddress defer.returnValue(json.loads(resp)['result']) File "/usr/local/lib/python2.7/dist-packages/Twisted-13.2.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py", line 1076, in returnValue raise _DefGen_Return(val) _DefGen_Return

From: astalavister [mailto:notifications@github.com] Sent: Sunday, December 29, 2013 3:47 PM To: moopless/stratum-mining-litecoin Cc: DJ Anderson Subject: Re: [stratum-mining-litecoin] Error with HoboNickels (#86)

Cant see now, havent working hbn wallet near. But from configs - it must be like so:

CENTRAL_WALLET = 'EnEcVj6txZ1tkTfrct77fzrKdJ4zdk1hbs' # local litecoin address where money goes

CENTRAL_WALLET = '02b7fdfce6543bf7ab389875f0ed1c65d712dad6985d5f0bf700045720ae7d98ef' There are some command on wallet which is generated that key.

— Reply to this email directly or view it on GitHubhttps://github.com/moopless/stratum-mining-litecoin/issues/86#issuecomment-31324951.

techwebhosting commented 10 years ago

Any word on this?

I have been tinkering around and I really haven't found a solution yet.

astalavister commented 10 years ago

look for ahmedbodi git, will get rid of most problems with this stratum :)

TheSerapher commented 10 years ago

https://github.com/ahmedbodi/stratum-mining