Here is the fix for the rampant "500 Error" that some pools are still getting.First you should probably be using:
https://github.com/Tydus/litecoin_scrypt.githttps://github.com/ahmedbodi/stratum-mining.gitInstructions on how to setup can be found here:
https://github.com/TheSerapher/php-mpos/wiki/Quick-Start-GuideThe key setting (due to I would assume earthcoind supporting messaging) is this in the /stratum-mining/conf/config.py file:
COINDAEMON_SHA256_TX = 'yes'According to ahmed_bodi, that feature enables the processing of scrypt transaction messages, the block_hashes will then be correctly processed and the earthcoin daemon will accept them as valid.
Anyways, I figured in the spirit of fairness all pools should have access to this, not just a select few. Also thanks to my miners on earth.vircurpool.com for sticking things out while I figured this out.
And thanks to ahmed_bodi for his direction.
Using Ahmed Bodi's Stratum and COINDAEMON_SHA256_TX = 'yes' still seeing the following:
2013-12-24 13:52:48+1030 [Protocol,22,178.233.219.148] Submitting Block with Submit Block
2013-12-24 13:52:48+1030 [HTTPPageGetter,client] Submit Block call failed, trying GetBlockTemplate
2013-12-24 13:52:48+1030 [HTTPPageGetter,client] Hit Block_template.py
2013-12-24 13:52:48+1030 [HTTPPageGetter,client] hit template registry
2013-12-24 13:52:48+1030 [HTTPPageGetter,client] Unhandled error in Deferred:
2013-12-24 13:52:48+1030 [HTTPPageGetter,client] Unhandled Error
Traceback (most recent call last):
Failure: twisted.web.error.Error: 500 Internal Server Error