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

PoW/PoS - (diamondcoin) problem #66

Open kounav opened 10 years ago

kounav commented 10 years ago

Hello everyone,

I am trying to connect stratum-mining-pool to Diamondcoin client but i receive the following error:

ERROR template_registry # [Failure instance: Traceback: <class 'struct.error'>: unpack requires a string argument of length 4 /usr/lib/python2.7/dist-packages/twisted/internet/defer.py:1101:gotResult /usr/lib/python2.7/dist-packages/twisted/internet/defer.py:1088:_inlineCallbacks /usr/lib/python2.7/dist-packages/twisted/internet/defer.py:368:callback /usr/lib/python2.7/dist-packages/twisted/internet/defer.py:464:_startRunCallbacks --- --- /usr/lib/python2.7/dist-packages/twisted/internet/defer.py:551:_runCallbacks /pool/stratum-server/lib/template_registry.py:132:_update_block /pool/stratum-server/lib/block_template.py:64:fill_from_rpc /pool/stratum-server/lib/halfnode.py:141:deserialize /pool/stratum-server/lib/util.py:71:deser_vector /pool/stratum-server/lib/halfnode.py:107:deserialize

I was looking for the solution of this problem into issues and popular forums but i couldnt find any clear answer. In addition, when a block is solved, the coin client didnt update it and the balance is always 0. The error is the following:

ERROR bitcoin_rpc # Problem Submitting block 500 Internal Server Error Traceback (most recent call last): File "stratum-mining/lib/bitcoin_rpc.py", line 49, in submitblock resp = (yield self._call('getblocktemplate', [{'mode': 'submit', 'data': block_hex}])) Error: 500 Internal Server Error

Can anyone help me? Is it a bug?

MarKus13 commented 10 years ago

This POS stratum will not work for diamondcoin or a few others like casinocoin. It's too bad . I was hoping the developers would fix this issue.

ahmedbodi commented 10 years ago

whats needed to fix this is a patch to the client i am willing to do this for anyone for a small fee of 0.01 btc as i have done this myself to numerous coins

MarKus13 commented 10 years ago

contact me ahmedbodi, and i have questions about your stratum mining server src.

senseless commented 10 years ago

ahmedbodi, how do i contact you?

ahmedbodi commented 10 years ago

senseless IRC #crypto-expert

himikk commented 10 years ago

Hello!

I had exactly same problem on CinnamonCoin

ERROR bitcoin_rpc # Problem Submitting block 500 Internal Server Error Where can i obtain magic patch "for a small fee of 0.01 btc" ?

ahmedbodi commented 10 years ago

crypto-expert on freenode IRC