ich habe den stratum-mining nun zum laufen bekommen und schon einige Coins minen können.
Zwar nur TEA Coins, aber da war die Diff so niedrig das man schnell sehen konnte, ob es klappt.
Dabei ist mir aber aufgefallen das ca. 50%-60% der "BLOCK Found" Shares verloren gehen.
Dabei ist mir noch eine Error Message aufgefallen, die ab und zu mal kommt:
/home/pi/stratum/stratum/protocol.py:192:dataReceived
/home/pi/stratum/stratum/protocol.py:238:lineReceived
/home/pi/stratum/stratum/services.py:13:_handle_event
/home/pi/stratum/stratum/services.py:81:call
---
/usr/lib/python2.7/dist-packages/twisted/internet/defer.py:134:maybeDeferred
/home/pi/stratum/stratum/services.py:78:_run
/home/pi/stratum-mining/mining/service.py:166:submit
/home/pi/stratum-mining/mining/basic_share_limiter.py:180:submit
/home/pi/stratum-mining/mining/DBInterface.py:222:update_worker_diff
]
None
Weiß jemand was das bedeutet?
Es ist mir nicht möglich Blöcke an die Windows Wallet zu senden.
Anscheint kennt die Wallet submitblock nicht. Ich bekomme immer "Block decode failed" wenn ich es in der Console manuell eintrage,
Wenn ich es gemint habe bekomme ich ein "Error: 500 Internal Server Error"
2014-04-25 20:18:39,270 INFO template_registry template_registry.submit_share # We found a block candidate! 0000000000001bf94840880b3fc8131a01757472ace39558387d3b2014530879
2014-04-25 20:18:39,279 DEBUG bitcoin_rpc bitcoin_rpc.submitblock # Submitting Block with submitblock: attempt #1
2014-04-25 20:18:39,282 DEBUG bitcoin_rpc bitcoin_rpc.submitblock # ['0400000016366f4451039adf8f79e329bad9857aba0c5c92c151360a36190000000000000588c8ffab296d418dce0485a2a8a64cf44384b7ac8e85b9c4968ee85f09e1f3b6a75a534b64281aeaa84a4f0101000000f8a65a53010000000000000000000000000000000000000000000000000000000000000000ffffffff2703752202062f503253482f04faa65a5308f8000001640000000d2f7374726174756d506f6f6c2f000000000000000002000000002321031bd61e337e8d6e4d7a7e5efdba6682827995638884a1473b21adcb61f9719d1cac0000000000']
2014-04-25 20:18:39,294 DEBUG interfaces interfaces.on_submit_share # 0000000000001bf94840880b3fc8131a01757472ace39558387d3b2014530879 (599739) valid DJSpAcEDeViL
2014-04-25 20:18:39,299 DEBUG protocol protocol.writeJsonResponse # < {"error": null, "id": 31223, "result": true}
2014-04-25 20:18:39,338 DEBUG bitcoin_rpc bitcoin_rpc.submitblock # Submitting Block with submitblock: attempt #2
2014-04-25 20:18:39,342 DEBUG bitcoin_rpc bitcoin_rpc.submitblock # ['0400000016366f4451039adf8f79e329bad9857aba0c5c92c151360a36190000000000000588c8ffab296d418dce0485a2a8a64cf44384b7ac8e85b9c4968ee85f09e1f3b6a75a534b64281aeaa84a4f0101000000f8a65a53010000000000000000000000000000000000000000000000000000000000000000ffffffff2703752202062f503253482f04faa65a5308f8000001640000000d2f7374726174756d506f6f6c2f000000000000000002000000002321031bd61e337e8d6e4d7a7e5efdba6682827995638884a1473b21adcb61f9719d1cac0000000000']
2014-04-25 20:18:39,355 DEBUG block_template block_template.__init__ # Got To Block_template.py
2014-04-25 20:18:39,358 DEBUG block_template block_template.__init__ # Got To Block_template.py
2014-04-25 20:18:39,362 DEBUG coinbasetx coinbasetx.__init__ # Got to CoinBaseTX
2014-04-25 20:18:39,367 INFO template_registry template_registry._update_block # None
2014-04-25 20:18:39,371 INFO template_registry template_registry.add_template # New template for 00000000000019360a3651c1925c0cba7a85d9ba29e3798fdf9a0351446f3616
2014-04-25 20:18:39,374 DEBUG template_registry template_registry.get_last_broadcast_args # Getting Laat Template
2014-04-25 20:18:39,379 DEBUG protocol protocol.writeJsonRequest # < {"params": ["3f1", "446f3616df9a035129e3798f7a85d9ba925c0cba0a3651c10000193600000000", "01000000fca65a53010000000000000000000000000000000000000000000000000000000000000000ffffffff2703752202062f503253482f04ffa65a5308", "0d2f7374726174756d506f6f6c2f000000000000000002000000002321031bd61e337e8d6e4d7a7e5efdba6682827995638884a1473b21adcb61f9719d1cac00000000", [], "00000004", "1a28644b", "535aa6fc", false], "id": null, "method": "mining.notify"}
2014-04-25 20:18:39,383 INFO subscription subscription.on_template # BROADCASTED to 1 connections in 0.008 sec
2014-04-25 20:18:39,386 INFO template_registry template_registry._update_block # Update finished, 0.031 sec, 1 txes
2014-04-25 20:18:39,410 DEBUG bitcoin_rpc bitcoin_rpc.submitblock # Submitting Block with submitblock: attempt #3
2014-04-25 20:18:39,413 DEBUG bitcoin_rpc bitcoin_rpc.submitblock # ['0400000016366f4451039adf8f79e329bad9857aba0c5c92c151360a36190000000000000588c8ffab296d418dce0485a2a8a64cf44384b7ac8e85b9c4968ee85f09e1f3b6a75a534b64281aeaa84a4f0101000000f8a65a53010000000000000000000000000000000000000000000000000000000000000000ffffffff2703752202062f503253482f04faa65a5308f8000001640000000d2f7374726174756d506f6f6c2f000000000000000002000000002321031bd61e337e8d6e4d7a7e5efdba6682827995638884a1473b21adcb61f9719d1cac0000000000']
2014-04-25 20:18:39,447 DEBUG bitcoin_rpc bitcoin_rpc.submitblock # Submitting Block with submitblock: attempt #4
2014-04-25 20:18:39,450 DEBUG bitcoin_rpc bitcoin_rpc.submitblock # ['0400000016366f4451039adf8f79e329bad9857aba0c5c92c151360a36190000000000000588c8ffab296d418dce0485a2a8a64cf44384b7ac8e85b9c4968ee85f09e1f3b6a75a534b64281aeaa84a4f0101000000f8a65a53010000000000000000000000000000000000000000000000000000000000000000ffffffff2703752202062f503253482f04faa65a5308f8000001640000000d2f7374726174756d506f6f6c2f000000000000000002000000002321031bd61e337e8d6e4d7a7e5efdba6682827995638884a1473b21adcb61f9719d1cac0000000000']
2014-04-25 20:18:39,485 DEBUG bitcoin_rpc bitcoin_rpc.submitblock # Submitting Block with submitblock: attempt #5
2014-04-25 20:18:39,488 DEBUG bitcoin_rpc bitcoin_rpc.submitblock # ['0400000016366f4451039adf8f79e329bad9857aba0c5c92c151360a36190000000000000588c8ffab296d418dce0485a2a8a64cf44384b7ac8e85b9c4968ee85f09e1f3b6a75a534b64281aeaa84a4f0101000000f8a65a53010000000000000000000000000000000000000000000000000000000000000000ffffffff2703752202062f503253482f04faa65a5308f8000001640000000d2f7374726174756d506f6f6c2f000000000000000002000000002321031bd61e337e8d6e4d7a7e5efdba6682827995638884a1473b21adcb61f9719d1cac0000000000']
2014-04-25 20:18:39,524 ERROR bitcoin_rpc bitcoin_rpc.submitblock # submitblock failed. Problem Submitting block 500 Internal Server Error
Traceback (most recent call last):
File "/home/pi/stratum-mining/lib/bitcoin_rpc.py", line 74, in submitblock
resp = (yield self._call('submitblock', [block_hex,]))
Error: 500 Internal Server Error
2014-04-25 20:18:39,536 ERROR bitcoin_rpc bitcoin_rpc.submitblock # Try Enabling TX Messages in config.py!
Traceback (most recent call last):
File "/home/pi/stratum-mining/lib/bitcoin_rpc.py", line 74, in submitblock
resp = (yield self._call('submitblock', [block_hex,]))
Error: 500 Internal Server Error
2014-04-25 20:18:39+0200 [HTTPPageGetter,client] Unhandled error in Deferred:
2014-04-25 20:18:39+0200 [HTTPPageGetter,client] Unhandled Error
Traceback (most recent call last):
Failure: twisted.web.error.Error: 500 Internal Server Error
Ich habe den Block mal hier im Post etwas abgeändert. Ich glaube zwar nicht das ich ihn noch senden kann, aber man weiß ja nie.