bonesoul / CoiniumServ

Next-gen crypto currency mining pool software
Other
798 stars 494 forks source link

Fix submitblock for peercoin and similarcoins #442

Closed bonesoul closed 10 years ago

bonesoul commented 10 years ago

some coins like peercoin and Grandcoin doesn't have standart submitblock support.

More info & solution: https://github.com/Crypto-Expert/stratum-mining/issues/181

bonesoul commented 10 years ago

14:05:01 guys - ppc testnet works 14:05:15 i used it to set up a pool with nomp as stratum 14:06:07 you should use this one: https://github.com/Peerunity/Peerunity with smalll change in bitcoinrpc.cpp file 14:06:37 here is pos-fix branch guys; 14:06:38 https://github.com/raistlinthewiz/CoiniumServ/compare/feature/pos-fix?expand=1 14:06:43 if anyone like to check it out 14:07:02 ahmed_: please take a quick look on the changes and tell me if you see any extra changes required 14:07:04 line 2186 change from "if (fHelp || params.size() > 1)" to "if (fHelp || params.size() > 0)" 14:07:35 feeleep: peercoin and forks also uses a non-standart submitblock format 14:07:43 need to fix it too, to test agaisnt peercoin

14:07:57 <feeleep> just explained how to fix it :)
14:08:59 <feeleep> everything else works
14:09:07 <raistlinthewiz> ahh
14:09:18 <raistlinthewiz> better to fix CoiniumServ code though to support it :)
bonesoul commented 10 years ago

fix mentioned https://github.com/Crypto-Expert/stratum-mining/blob/master/lib/bitcoin_rpc.py#L132