cisahasa
Legendary
Offline
Activity: 910
Merit: 1000
|
|
April 09, 2015, 05:59:30 PM |
|
https://github.com/yqons/solo-mining-statsUpdated: -Changed the "layout", Added Network Difficulty (Net. Diff.: ) -Address check on the pool -Updated and improved the loop -Fix for the users that already found the last block on the pool "blocks.txt" Can you (or anyone else) please help a non-coder noob out, how do I use your script? There's only 3 steps for how to use, step 1 is simple (put address in text file), but I do not understand step 2, what "pip install datetime requests dateutil.relativedelta colorama" means. For step 3, my computer does not know what to do with a .py file type. Do you have more detailed instructions, step by step, explaining exactly what to do? Thanks. you need python, and rest you play with cmd https://www.python.org/downloads/windows/
|
|
|
|
zapphood
Newbie
Offline
Activity: 57
Merit: 0
|
|
April 09, 2015, 06:17:48 PM |
|
Can you (or anyone else) please help a non-coder noob out, how do I use your script? There's only 3 steps for how to use, step 1 is simple (put address in text file), but I do not understand step 2, what "pip install datetime requests dateutil.relativedelta colorama" means. For step 3, my computer does not know what to do with a .py file type. Do you have more detailed instructions, step by step, explaining exactly what to do? Thanks.
you need python version 2.x for windows if your os is windows https://www.python.org/downloads/release/python-279/install python (don't forget to select the option for the path) download and extract the zipfile from github https://github.com/yqons/solo-mining-stats/archive/master.ziprun cmd cd C:\Python27\Scripts run... easy_install-2.7.exe datetime easy_install-2.7.exe requests easy_install-2.7.exe python-dateutil easy_install-2.7.exe colorama put your BTC address in the addr.txt file double click check.py that's all
|
|
|
|
Mikestang
Legendary
Offline
Activity: 1274
Merit: 1000
|
|
April 09, 2015, 06:37:36 PM |
|
Many thanks to you both! One final question, where do I need to extract the zipfile, to the \Python27\Scripts directory?
|
|
|
|
cisahasa
Legendary
Offline
Activity: 910
Merit: 1000
|
|
April 09, 2015, 06:41:12 PM Last edit: April 09, 2015, 07:38:38 PM by cisahasa |
|
anywhere you want( and if problems check your environment path has C:\Python27\;C:\Python27\Scripts;
------------ i like its desing better this way:
Stats for : 1BigHit9xDAjVS3bJn7XNxQc3iRDiSABeZ Hashrate 1m : 6.09TH/s Hashrate 5m : 4.86TH/s Hashrate 1d : 1.52TH/s Hashrate 7d : 259GH/s Net. Diff. : 49446390688.241 Best share : 89458871.251
------------ time zones and daylight saving messing things up with lastupdate value, hope someone could fix it
|
|
|
|
jonnybravo0311
Legendary
Offline
Activity: 1344
Merit: 1024
Mine at Jonny's Pool
|
|
April 09, 2015, 08:12:05 PM |
|
I really don't understand the point of this script at all. How difficult is it to click a link and see the stats on the web? Instead, you're going to install a whole bunch of python libraries and run a command line script. What's the value add in doing this?
|
Jonny's Pool - Mine with us and help us grow! Support a pool that supports Bitcoin, not a hardware manufacturer's pockets! No SPV cheats. No empty blocks.
|
|
|
cisahasa
Legendary
Offline
Activity: 910
Merit: 1000
|
|
April 09, 2015, 08:17:45 PM Last edit: April 09, 2015, 08:52:03 PM by cisahasa |
|
I really don't understand the point of this script at all. How difficult is it to click a link and see the stats on the web? Instead, you're going to install a whole bunch of python libraries and run a command line script. What's the value add in doing this?
fun.. and most of users here know how to setup those: install a whole bunch of python libraries and its not bad thing to learn more just like people had to learn how to use mingw and fight all the deps to compile own wallet...
|
|
|
|
kano
Legendary
Offline
Activity: 4606
Merit: 1851
Linux since 1997 RedHat 4
|
|
April 09, 2015, 08:52:41 PM |
|
On linux this one line will get the stats and put them on separate lines wget -qO - http://solo.ckpool.org/users/1address | tr -d '" {}' | tr "," "\n"
e.g. wget -qO - http://solo.ckpool.org/users/1BigHit9xDAjVS3bJn7XNxQc3iRDiSABeZ | tr -d '" {}' | tr "," "\n"
hashrate1m:0 hashrate5m:0 hashrate1hr:0 hashrate1d:0 hashrate7d:0 lastupdate:1428611878 workers:0 bestshare:0.0
Of course you could write a script of a few lines to format the numbers.
|
|
|
|
cisahasa
Legendary
Offline
Activity: 910
Merit: 1000
|
|
April 09, 2015, 09:36:54 PM |
|
also windows... $ wget -qO - http://solo.ckpool.org/users/1xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | tr -d '" {}' | tr "," "\n" hashrate1m:55.7T hashrate5m:54.7T hashrate1hr:44.2T hashrate1d:5T hashrate7d:786G lastupdate:1428615238 workers:117 bestshare:726322442.48476458 just needs that auto refresh.. having fun while waiting that big hit..
|
|
|
|
Mikestang
Legendary
Offline
Activity: 1274
Merit: 1000
|
|
April 09, 2015, 09:40:59 PM |
|
I really don't understand the point of this script at all. How difficult is it to click a link and see the stats on the web? Instead, you're going to install a whole bunch of python libraries and run a command line script. What's the value add in doing this?
It will update itself, I don't have to keep refreshing. I don't need to keep a web browser open all day. I like to learn how to do stuff.
|
|
|
|
-ck (OP)
Legendary
Offline
Activity: 4284
Merit: 1645
Ruu \o/
|
|
April 09, 2015, 09:46:58 PM |
|
I just use the "reloadevery" add-on in firefox.
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
cisahasa
Legendary
Offline
Activity: 910
Merit: 1000
|
|
April 09, 2015, 09:54:25 PM |
|
i like it like this:
|
|
|
|
kano
Legendary
Offline
Activity: 4606
Merit: 1851
Linux since 1997 RedHat 4
|
|
April 09, 2015, 11:41:57 PM |
|
You shouldn't ignore lastupdate
|
|
|
|
Mikestang
Legendary
Offline
Activity: 1274
Merit: 1000
|
|
April 09, 2015, 11:43:28 PM |
|
I just use the "reloadevery" add-on in firefox.
I wasn't familiar with that add-on, I'll take a look, but still means I would need to leave FF up all day instead of a command prompt.
|
|
|
|
aarons6
Legendary
Offline
Activity: 1736
Merit: 1006
|
|
April 10, 2015, 12:45:36 AM |
|
my miner keeps disconnecting from this pool..
looking at the stats it seems 100T or so just dropped out.
|
|
|
|
-ck (OP)
Legendary
Offline
Activity: 4284
Merit: 1645
Ruu \o/
|
|
April 10, 2015, 12:51:44 AM |
|
my miner keeps disconnecting from this pool..
looking at the stats it seems 100T or so just dropped out.
Problem is between your miners and the pool, and usually it's a routing/network issue. There is nothing wrong at the pool end. If you have linux I suggest you try using mtr to diagnose where you may be losing packets. 10% loss at the last step is normal. mtr --report -w solo.ckpool.org
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
aarons6
Legendary
Offline
Activity: 1736
Merit: 1006
|
|
April 10, 2015, 01:02:01 AM |
|
my miner keeps disconnecting from this pool..
looking at the stats it seems 100T or so just dropped out.
Problem is between your miners and the pool, and usually it's a routing/network issue. There is nothing wrong at the pool end. If you have linux I suggest you try using mtr to diagnose where you may be losing packets. 10% loss at the last step is normal. mtr --report -w solo.ckpool.org the hash is back and my miner reconnected, it must have been comcast then.. it was down for about 5 minutes.
|
|
|
|
thedreamer
Legendary
Offline
Activity: 1694
Merit: 1002
Go Big or Go Home.....
|
|
April 10, 2015, 02:16:18 AM |
|
my miner keeps disconnecting from this pool..
looking at the stats it seems 100T or so just dropped out.
Problem is between your miners and the pool, and usually it's a routing/network issue. There is nothing wrong at the pool end. If you have linux I suggest you try using mtr to diagnose where you may be losing packets. 10% loss at the last step is normal. mtr --report -w solo.ckpool.org the hash is back and my miner reconnected, it must have been comcast then.. it was down for about 5 minutes. I lost connection too. The miner connecting is not on Comcast.
|
Go Big or Go Home.
|
|
|
-ck (OP)
Legendary
Offline
Activity: 4284
Merit: 1645
Ruu \o/
|
|
April 10, 2015, 02:22:50 AM |
|
my miner keeps disconnecting from this pool..
looking at the stats it seems 100T or so just dropped out.
Problem is between your miners and the pool, and usually it's a routing/network issue. There is nothing wrong at the pool end. If you have linux I suggest you try using mtr to diagnose where you may be losing packets. 10% loss at the last step is normal. mtr --report -w solo.ckpool.org the hash is back and my miner reconnected, it must have been comcast then.. it was down for about 5 minutes. I lost connection too. The miner connecting is not on Comcast. The same advice applies. There appears to be nothing unusual at the pool end. Try also: http://www.internetweathermap.com/and a few other services. The pool is fine.
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
Mikestang
Legendary
Offline
Activity: 1274
Merit: 1000
|
|
April 10, 2015, 06:46:24 AM Last edit: April 10, 2015, 06:58:39 AM by Mikestang |
|
Thank you both again. I managed to get everything installed and working more or less; my last update time displays as a negative number though. Actually, it always displays about -5 29, everything updates as it should, but the time just sits at the negative value. Any idea what I could have messed up?
|
|
|
|
Mikestang
Legendary
Offline
Activity: 1274
Merit: 1000
|
|
April 10, 2015, 06:52:35 AM |
|
I just use the "reloadevery" add-on in firefox.
Installed the add on, nice feature to have, thanks for pointing it out.
|
|
|
|
|