gr33k
|
|
August 04, 2013, 01:45:45 AM |
|
No problem - Sorry guys and thank you for helping me "test" the pool. I really want to make this work and hate to waste anyone's time. Alien I'm not sure what you mean about the block being behind. I'm checking other pools like meg.smalltimeminer.com and we appear to be on the same block. I'm using stratum-mining fork: https://github.com/viperaus/stratum-miningLooking at stratum.log I don't see anything off, unless I'm missing something: 2013-08-01 19:54:33,413 DEBUG protocol protocol.lineReceived # > {u'params': [u'gr33k.lefta007', u'109', u'9d000000', u'51fb1f3b', u'34105b00'], u'id': 1962, u'method': u'mining.submit'} 2013-08-01 19:54:33,577 INFO template_registry template_registry.submit_share # Yay, share with diff above 100000 2013-08-01 19:54:33,577 INFO template_registry template_registry.submit_share # target_info: 75885503602567541832791480735293707290719017150474200048898922255425948640827 2013-08-01 19:54:33,578 INFO template_registry template_registry.submit_share # hash_int: 21718875067889437872563518630900277032447680110359050126366884757374961 2013-08-01 19:54:33,578 INFO template_registry template_registry.submit_share # job.target: 2385472208755718661207358512724886083679967466819661656526692548608 2013-08-01 19:54:33,578 INFO interfaces interfaces.on_submit_share # 00000325990cb08b186aa7dadb0381fa138deace15a0a227a74fdd0e2f3e07f1 valid gr33k.lefta007 2013-08-01 19:54:33,580 DEBUG protocol protocol.writeJsonResponse # < {"error": null, "id": 1962, "result": true} 2013-08-01 19:54:42,774 DEBUG protocol protocol.lineReceived # > {u'params': [u'gr33k.lefta007', u'109', u'9d000000', u'51fb1f3b', u'44866d00'], u'id': 1963, u'method': u'mining.submit'} 2013-08-01 19:54:42,776 INFO template_registry template_registry.submit_share # Yay, share with diff above 100000 2013-08-01 19:54:42,776 INFO template_registry template_registry.submit_share # target_info: 75885503602567541832791480735293707290719017150474200048898922255425948640827 2013-08-01 19:54:42,776 INFO template_registry template_registry.submit_share # hash_int: 16693784746180453391499974284417721059877301424943486640297090737970939 2013-08-01 19:54:42,776 INFO template_registry template_registry.submit_share # job.target: 2385472208755718661207358512724886083679967466819661656526692548608 2013-08-01 19:54:42,776 INFO interfaces interfaces.on_submit_share # 0000026b34f6c814a3cb8bce5b80506453c56d93c0e3333f60ff8a494b5f1efb valid gr33k.lefta007 *** 2013-08-03 18:19:36,928 INFO template_registry template_registry.submit_share # target_info: 75885503602567541832791480735293707290719017150474200048898922255425948640827 2013-08-03 18:19:36,928 INFO template_registry template_registry.submit_share # hash_int: 24022569817178936876965807153790829816857081542917216230771326637017210 2013-08-03 18:19:36,928 INFO template_registry template_registry.submit_share # job.target: 6597348418227054935848547048590336711159005279095007297043211223040 2013-08-03 18:19:36,929 INFO interfaces interfaces.on_submit_share # 0000037b0bf06a943c587a52a1dc9b99195029032c9ce69a04aa3be8ba0b887a valid gr33k.lefta007 2013-08-03 18:19:36,935 DEBUG protocol protocol.writeJsonResponse # < {"error": null, "id": 2838, "result": true} 2013-08-03 18:19:36,951 INFO block_updater block_updater.run # Merkle update! Prevhash: 93b6357b0dbb4db8c209d4fcd21b4c93b715487a3794bea699a9c137673341cd 2013-08-03 18:19:36,953 INFO template_registry template_registry.add_template # New template for 93b6357b0dbb4db8c209d4fcd21b4c93b715487a3794bea699a9c137673341cd 2013-08-03 18:19:36,954 DEBUG protocol protocol.writeJsonRequest # < {"params": ["792", "673341cd99a9c1373794bea6b715487ad21b4c93c209d4fc0dbb4db893b6357b", "01000000010000000000000000000000000000000000000 000000000000000000000000000ffffffff2303c2a500062f503253482f0428acfd5108", "092f7374726174756d2f000000000110040fe9020000001976a91432a81f9a48d6c4a8fe1e981ed77c6da27678654988ac00000000", ["b99df4b335a58dc0ad 7fa92ac75d36901d7a66b0994a5b4e8141f68a8b57a06a", "66f0a9d68605802ebb5b6136e4f25eb200106a6aa681957e7039214a7db0178d", "d3dea3e710484e98371bf7da6ed0092300446dfb60a738d36ddcfdeb2a438e67"], "00000002", "1c3ea 544", "51fdac26", false], "id": null, "method": "mining.notify"} 2013-08-03 18:19:36,954 DEBUG protocol protocol.writeJsonRequest # < {"params": ["792", "673341cd99a9c1373794bea6b715487ad21b4c93c209d4fc0dbb4db893b6357b", "01000000010000000000000000000000000000000000000 000000000000000000000000000ffffffff2303c2a500062f503253482f0428acfd5108", "092f7374726174756d2f000000000110040fe9020000001976a91432a81f9a48d6c4a8fe1e981ed77c6da27678654988ac00000000", ["b99df4b335a58dc0ad 7fa92ac75d36901d7a66b0994a5b4e8141f68a8b57a06a", "66f0a9d68605802ebb5b6136e4f25eb200106a6aa681957e7039214a7db0178d", "d3dea3e710484e98371bf7da6ed0092300446dfb60a738d36ddcfdeb2a438e67"], "00000002", "1c3ea 544", "51fdac26", false], "id": null, "method": "mining.notify"} 2013-08-03 18:19:36,954 DEBUG protocol protocol.writeJsonRequest # < {"params": ["792", "673341cd99a9c1373794bea6b715487ad21b4c93c209d4fc0dbb4db893b6357b", "01000000010000000000000000000000000000000000000 000000000000000000000000000ffffffff2303c2a500062f503253482f0428acfd5108", "092f7374726174756d2f000000000110040fe9020000001976a91432a81f9a48d6c4a8fe1e981ed77c6da27678654988ac00000000", ["b99df4b335a58dc0ad 7fa92ac75d36901d7a66b0994a5b4e8141f68a8b57a06a", "66f0a9d68605802ebb5b6136e4f25eb200106a6aa681957e7039214a7db0178d", "d3dea3e710484e98371bf7da6ed0092300446dfb60a738d36ddcfdeb2a438e67"], "00000002", "1c3ea 544", "51fdac26", false], "id": null, "method": "mining.notify"} 2013-08-03 18:19:36,954 DEBUG protocol protocol.writeJsonRequest # < {"params": ["792", "673341cd99a9c1373794bea6b715487ad21b4c93c209d4fc0dbb4db893b6357b", "01000000010000000000000000000000000000000000000 000000000000000000000000000ffffffff2303c2a500062f503253482f0428acfd5108", "092f7374726174756d2f000000000110040fe9020000001976a91432a81f9a48d6c4a8fe1e981ed77c6da27678654988ac00000000", ["b99df4b335a58dc0ad 7fa92ac75d36901d7a66b0994a5b4e8141f68a8b57a06a", "66f0a9d68605802ebb5b6136e4f25eb200106a6aa681957e7039214a7db0178d", "d3dea3e710484e98371bf7da6ed0092300446dfb60a738d36ddcfdeb2a438e67"], "00000002", "1c3ea 544", "51fdac26", false], "id": null, "method": "mining.notify"} 2013-08-03 18:19:36,954 DEBUG protocol protocol.writeJsonRequest # < {"params": ["792", "673341cd99a9c1373794bea6b715487ad21b4c93c209d4fc0dbb4db893b6357b", "01000000010000000000000000000000000000000000000 000000000000000000000000000ffffffff2303c2a500062f503253482f0428acfd5108", "092f7374726174756d2f000000000110040fe9020000001976a91432a81f9a48d6c4a8fe1e981ed77c6da27678654988ac00000000", ["b99df4b335a58dc0ad 7fa92ac75d36901d7a66b0994a5b4e8141f68a8b57a06a", "66f0a9d68605802ebb5b6136e4f25eb200106a6aa681957e7039214a7db0178d", "d3dea3e710484e98371bf7da6ed0092300446dfb60a738d36ddcfdeb2a438e67"], "00000002", "1c3ea 544", "51fdac26", false], "id": null, "method": "mining.notify"} 2013-08-03 18:19:36,954 DEBUG protocol protocol.writeJsonRequest # < {"params": ["792", "673341cd99a9c1373794bea6b715487ad21b4c93c209d4fc0dbb4db893b6357b", "01000000010000000000000000000000000000000000000 000000000000000000000000000ffffffff2303c2a500062f503253482f0428acfd5108", "092f7374726174756d2f000000000110040fe9020000001976a91432a81f9a48d6c4a8fe1e981ed77c6da27678654988ac00000000", ["b99df4b335a58dc0ad 7fa92ac75d36901d7a66b0994a5b4e8141f68a8b57a06a", "66f0a9d68605802ebb5b6136e4f25eb200106a6aa681957e7039214a7db0178d", "d3dea3e710484e98371bf7da6ed0092300446dfb60a738d36ddcfdeb2a438e67"], "00000002", "1c3ea 544", "51fdac26", false], "id": null, "method": "mining.notify"} 2013-08-03 18:19:36,955 INFO subscription subscription.on_template # BROADCASTED to 6 connections in 0.001 sec 2013-08-03 18:19:36,955 INFO template_registry template_registry._update_block # Update finished, 0.002 sec, 6 txes
I see this which appears normal per worker: 2013-08-03 18:16:58,480 DEBUG protocol protocol.writeJsonResponse # < {"error": null, "id": 45650, "result": true} 2013-08-03 18:16:58,806 DEBUG protocol protocol.lineReceived # > {u'params': [u'bholzer.skeleton', u'78f', u'0a000000', u'51fdab72', u'494c9800'], u'id': 21717, u'method': u'mining.submit'} 2013-08-03 18:16:58,808 INFO template_registry template_registry.submit_share # Yay, share with diff above 100000 2013-08-03 18:16:58,808 INFO template_registry template_registry.submit_share # target_info: 75885503602567541832791480735293707290719017150474200048898922255425948640827 2013-08-03 18:16:58,808 INFO template_registry template_registry.submit_share # hash_int: 67216199006714685899258939127304123765837962320216235014658774925056157 2013-08-03 18:16:58,808 INFO template_registry template_registry.submit_share # job.target: 6597348418227054935848547048590336711159005279095007297043211223040 2013-08-03 18:16:58,808 INFO interfaces interfaces.on_submit_share # 000009bd2ff8a5daa249e8cf11078cc35f2a20df06fd2a17bb028450d00c189d valid bholzer.skeleton 2013-08-03 18:16:58,810 DEBUG protocol protocol.writeJsonResponse # < {"error": null, "id": 21717, "result": true} 2013-08-03 18:16:59,357 DEBUG protocol protocol.lineReceived # > {u'params': [u'bholzer.skeleton', u'78f', u'09000000', u'51fdab72', u'd9769c00'], u'id': 21718, u'method': u'mining.submit'} 2013-08-03 18:16:59,359 INFO template_registry template_registry.submit_share # Yay, share with diff above 100000 2013-08-03 18:16:59,359 INFO template_registry template_registry.submit_share # target_info: 75885503602567541832791480735293707290719017150474200048898922255425948640827 2013-08-03 18:16:59,359 INFO template_registry template_registry.submit_share # hash_int: 18030630370376168666961590630229373270420436690509046750343435799073614 2013-08-03 18:16:59,359 INFO template_registry template_registry.submit_share # job.target: 6597348418227054935848547048590336711159005279095007297043211223040 2013-08-03 18:16:59,359 INFO interfaces interfaces.on_submit_share # 0000029ccb127a6e8a673f6175228e1c7c07c54b3ab464f902762bf8e871934e valid bholzer.skeleton 2013-08-03 18:16:59,361 DEBUG protocol protocol.writeJsonResponse # < {"error": null, "id": 21718, "result": true}
Here is my edited config.py ''' This is example configuration for Stratum server. Please rename it to settings.py and fill correct values. '''
# ******************** GENERAL SETTINGS ***************
# Enable some verbose debug (logging requests and responses). # Turn this off once ready to go live - True|False DEBUG = True
# Destination for application logs, files rotated once per day. # log in current directory - ensure log directory exists LOGDIR = 'log/'
# Main application log file. LOGFILE = 'stratum.log'
# Possible values: DEBUG, INFO, WARNING, ERROR, CRITICAL # Turn this to INFO once ready to go live LOGLEVEL = 'DEBUG'
# How many threads use for synchronous methods (services). # 30 is enough for small installation, for real usage # it should be slightly more, say 100-300. THREAD_POOL_SIZE = 300
#Not sure what this is.. lol ENABLE_EXAMPLE_SERVICE = False
# ******************** TRANSPORTS ********************* # Hostname or external IP to expose HOSTNAME = 'gr33k.gotdns.org'
# Port used for Socket transport. Use 'None' for disabling the transport. LISTEN_SOCKET_TRANSPORT = 3333 # Port used for HTTP Poll transport. Use 'None' for disabling the transport LISTEN_HTTP_TRANSPORT = None
# Port used for HTTPS Poll transport LISTEN_HTTPS_TRANSPORT = None
# Port used for WebSocket transport, 'None' for disabling WS LISTEN_WS_TRANSPORT = None
# Port used for secure WebSocket, 'None' for disabling WSS LISTEN_WSS_TRANSPORT = None
# Hostname and credentials for one trusted Bitcoin node ("Satoshi's client"). # Stratum uses both P2P port (which is 8333 already) and RPC port #update this information - user/password from ~/.litecoin/litecoin.conf LITECOIN_TRUSTED_HOST = 'localhost' LITECOIN_TRUSTED_PORT = 8600 LITECOIN_TRUSTED_USER = 'XXXXXX' LITECOIN_TRUSTED_PASSWORD = 'XXXXXXXXXXXXX'
# Use "echo -n '<yourpassword>' | sha256sum | cut -f1 -d' ' " # for calculating SHA256 of your preferred password ADMIN_PASSWORD_SHA256 = 'XXXXX' # SHA256 of the password
IRC_NICK = None
# MYSQL connection details
DATABASE_HOST = 'localhost' DATABASE_DBNAME = 'mmcfe_ng_db' DATABASE_USER = 'XXXXXX' DATABASE_PASSWORD = 'XXXXXX'
# Memcache server host and port MEMCACHE_HOST = 'localhost:11211'
# Memcache authorization timeout - in seconds MEMC_AUTH_TIMEOUT = 900
POOL_TARGET = 0.0625 # Pool related settings # to get central_wallet address: bitcoind/litecoind getaccountaddress ""
INSTANCE_ID = 31 CENTRAL_WALLET = 'MCX1RSgjJRbPLu9C8MBbF9XmdnPGeh8zuX' #MegaCoin PREVHASH_REFRESH_INTERVAL = 5 # in sec MERKLE_REFRESH_INTERVAL = 60 # How often check memorypool COINBASE_EXTRAS = '/stratum/'
twistd.log has this: 2013-08-03 18:26:21-0700 [-] Starting factory <HTTPClientFactory: http://localhost:8600> 2013-08-03 18:26:21-0700 [HTTPPageGetter,client] Stopping factory <HTTPClientFactory: http://localhost:8600> 2013-08-03 18:26:26-0700 [-] Starting factory <HTTPClientFactory: http://localhost:8600> 2013-08-03 18:26:26-0700 [HTTPPageGetter,client] Stopping factory <HTTPClientFactory: http://localhost:8600> 2013-08-03 18:26:31-0700 [-] Starting factory <HTTPClientFactory: http://localhost:8600> 2013-08-03 18:26:31-0700 [HTTPPageGetter,client] Stopping factory <HTTPClientFactory: http://localhost:8600> 2013-08-03 18:26:36-0700 [-] Starting factory <HTTPClientFactory: http://localhost:8600> 2013-08-03 18:26:36-0700 [HTTPPageGetter,client] Starting factory <HTTPClientFactory: http://localhost:8600> 2013-08-03 18:26:36-0700 [HTTPPageGetter,client] Stopping factory <HTTPClientFactory: http://localhost:8600> 2013-08-03 18:26:36-0700 [HTTPPageGetter,client] Stopping factory <HTTPClientFactory: http://localhost:8600>
I see it a lot in there - doesn't look like an error per say. Maybe there's stratum-miner files that need to be modified specifically for MegaCoin? Anyone have pointers plz? ty !
|