Mikestang
Legendary
Offline
Activity: 1274
Merit: 1000
|
|
April 10, 2015, 12:24:35 PM |
|
I modified the script with a unixtime stamp converter to show the lastupdate correct and i modified the layout for me. Modified Script Download: solo-mining-stats-new.zipHow do I know that code is clean? I do not install/run things from random uploads.
|
|
|
|
zapphood
Newbie
Offline
Activity: 57
Merit: 0
|
|
April 10, 2015, 12:35:10 PM Last edit: April 10, 2015, 01:16:38 PM by zapphood |
|
I modified the script with a unixtime stamp converter to show the lastupdate correct and i modified the layout for me. Modified Script Download: solo-mining-stats-new.zipHow do I know that code is clean? I do not install/run things from random uploads. Hmmmm...but you download the script from github, how do you know that this code is clean? the zipfile was only a little help for you....but it is no problem that you don't trust me. here ist the modified script as source (check.py) to copy & paste if you want. cheers, zapphood #!/usr/bin/python import sys import datetime import requests import dateutil.relativedelta import time import os
from colorama import init, Back, Fore
init()
clear = lambda: os.system('cls') clear()
# Welcome, check your stats for the solo.ckpool.org pool, edit the file addr.txt with your Bitcoin address, your balance will be checked around every 10 minute. # If you see the background green, you won the jackpot! press a key to skip' # # Made by yqons (Donate 1GrC12hbtMNPiYumftZ4B3Y1MVyCuZrKeM) # # Modified by Zapphood
#load address with open('addr.txt', 'r') as f: addr = str(f.readline()).strip() #check if is correct urlx1 = 'https://blockexplorer.com/q/addressbalance/' + addr response12 = requests.get(urlx1) datax2 = float(response12.text)
#check your last block found on the pool with open('blocks.txt', 'r') as f2: lastbf = str(f2.readline()).strip()
if datax2>=0: urlx1x = 'http://solo.ckpool.org/users/' + addr response12x = requests.get(urlx1x) datax2x = str(response12x.text) if not datax2x[:1]=='<': print("Address loaded correctly, GOOD LUCK!") else: print("Address not found on the pool, please check your address inside addr.txt") sys.exit() else: print("Address error, please check your address inside addr.txt") sys.exit()
time.sleep(1.55)
url12 = 'https://blockexplorer.com/q/getdifficulty' response1212 = requests.get(url12) datax12 = '{0:.3f}'.format(float(response1212.text)) netdiff = datax12
#timer x=0
while True: x+=1 #jackpot check every 10 minutes(around) this is the block time avg if not x%8: urlx = 'https://blockchain.info/address/1PKN98VN2z5gwSGZvGKS2bj8aADZBkyhkZ?format=json' response1 = requests.get(urlx) datax = response1.json() blockrec = str(datax['txs'][0][u'block_height']) if datax['txs'][0][u'out'][0][u'addr']==addr and lastbf!=blockrec : clear() text = str(float(datax['txs'][0][u'out'][0][u'value'])/100000000) +" *********** JACKPOT *********** "+ str(float(datax['txs'][0][u'out'][0][u'value'])/100000000) +" (send me some LOL)" print(Back.YELLOW + text) print(Back.RED + text) print(Back.GREEN + text) print(Fore.YELLOW + text) print(Fore.RED + text) print(Fore.BLACK + text) print "" print "Block Height: " + blockrec f = open('blocks.txt','w') f.write(blockrec) time.sleep(0.1) break
url = 'http://solo.ckpool.org/users/' + addr response = requests.get(url) data = response.json() m1avg = data['hashrate1m'] m5avg = data['hashrate5m'] h1avg = data['hashrate1hr'] d1avg = data['hashrate1d'] d7avg = data['hashrate7d']
bests = '{0:.3f}'.format(float(data['bestshare'])) clear() print 'Stats for BTC Address: ' + addr print '' print 'Lastupdate: ' + time.ctime(int(data['lastupdate'])) print '' print 'Hashrate (1m): ' + str(m1avg) + 'H/s' print 'Hashrate (5m): ' + str(m5avg) + 'H/s' print 'Hashrate (1h): ' + str(h1avg) + 'H/s' print 'Hashrate (1d): ' + str(d1avg) + 'H/s' print 'Hashrate (7d): ' + str(d7avg) + 'H/s' print '' print 'Net. Diff.: ' + str(netdiff) print 'Best share: ' + str(bests) time.sleep(75)
|
|
|
|
cisahasa
Legendary
Offline
Activity: 910
Merit: 1000
|
|
April 10, 2015, 01:16:31 PM |
|
looking good now, and lastupdate added back ( i hate to keep browser open all the time)
Stats for : 1xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Hashrate 1m : 3.21TH/s Hashrate 5m : 3.21TH/s Hashrate 1d : 2.08TH/s Hashrate 7d : 501GH/s Lastupdate : Fri Apr 10 16:15:01 2015 Net. Diff. : 49446390688.241 Best share : 726322442.485
|
|
|
|
Mikestang
Legendary
Offline
Activity: 1274
Merit: 1000
|
|
April 10, 2015, 09:05:58 PM |
|
the zipfile was only a little help for you....but it is no problem that you don't trust me.
here ist the modified script as source (check.py) to copy & paste if you want.
Thank you, it's not that I don't trust you, it's that I don't trust anyone.
|
|
|
|
o_solo_miner
Legendary
Offline
Activity: 2488
Merit: 1487
-> morgen, ist heute, schon gestern <-
|
|
April 11, 2015, 07:39:38 PM |
|
BLOCK Congrats to the lucky 15X8ziBTCLEQCU2eUwWoQCYqJV7CoJSFoC one!
|
from the creator of CGMiner http://solo.ckpool.org for Solominers paused: passthrough for solo.ckpool.org => stratum+tcp://rfpool.org:3334
|
|
|
|
zapphood
Newbie
Offline
Activity: 57
Merit: 0
|
|
April 11, 2015, 07:46:50 PM |
|
Kawoom! The next Solo Block Congrats to the lucky winner.
|
|
|
|
ezeminer
Legendary
Offline
Activity: 2226
Merit: 1118
Lie down. Have a cookie
|
|
April 11, 2015, 09:16:53 PM |
|
|
|
|
|
tutorialevideo
Legendary
Offline
Activity: 1161
Merit: 1001
Don`t invest more than you can afford to lose
|
|
April 11, 2015, 09:17:20 PM |
|
{"hashrate1m": "2.35T", "hashrate5m": "2.21T", "hashrate1hr": "2.2T", "hashrate1d": "1.9T", "hashrate7d": "1.54T", "lastupdate": 1428786966, "workers": 3, "bestshare": 3495429.7471186719} )
|
|
|
|
kipper01
Full Member
Offline
Activity: 214
Merit: 100
1KippERXwH1PdBxKNt1ksgqh89WBv6CtWQ
|
|
April 11, 2015, 09:24:14 PM |
|
|
|
|
|
-ck (OP)
Legendary
Offline
Activity: 4298
Merit: 1645
Ruu \o/
|
|
April 11, 2015, 10:20:37 PM Last edit: April 11, 2015, 11:11:51 PM by -ck |
|
[2015-04-11 19:38:06] Possible block solve diff 61109623328.939552 ! [2015-04-11 19:38:06] BLOCK ACCEPTED! [2015-04-11 19:38:06] Solved and confirmed block 351709
Congratulations to 15X8ziBTCLEQCU2eUwWoQCYqJV7CoJSFoC with the 33rd block solved! I'm pretty sure he's the smallest miner to date to find a block on solo.ckpool.
|
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 12, 2015, 04:01:42 AM |
|
Awesome! Way to score for team "little guy".
Signed, 775gh/s
|
|
|
|
Mikestang
Legendary
Offline
Activity: 1274
Merit: 1000
|
|
April 12, 2015, 06:38:14 AM |
|
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? I modified the script with a unixtime stamp converter to show the lastupdate correct and i modified the layout for me. Modified Script Download: solo-mining-stats-new.zipThank you, your change fixed my lastupdate to display the correct time. I also like your layout, well done.
|
|
|
|
zapphood
Newbie
Offline
Activity: 57
Merit: 0
|
|
April 12, 2015, 08:39:57 AM |
|
Thank you, your change fixed my lastupdate to display the correct time. I also like your layout, well done. I'm glad you like it
|
|
|
|
aurel57
Legendary
Offline
Activity: 1288
Merit: 1001
|
|
April 12, 2015, 12:59:46 PM |
|
[2015-04-11 19:38:06] Possible block solve diff 61109623328.939552 ! [2015-04-11 19:38:06] BLOCK ACCEPTED! [2015-04-11 19:38:06] Solved and confirmed block 351709
Congratulations to 15X8ziBTCLEQCU2eUwWoQCYqJV7CoJSFoC with the 33rd block solved! I'm pretty sure he's the smallest miner to date to find a block on solo.ckpool. Congrats to the #33 block miner!
|
|
|
|
cisahasa
Legendary
Offline
Activity: 910
Merit: 1000
|
|
April 12, 2015, 03:14:50 PM |
|
waiting to see first screenshot of stats showing block found... jackpot
|
|
|
|
PublicP2poolNode
|
|
April 12, 2015, 06:26:57 PM Last edit: April 12, 2015, 06:42:57 PM by PublicP2poolNode |
|
Every time I wanted to quit my pursuit to solomine a block I would look at the photo above my miners with a quoute from Eleanor Roosevelt that reads "THE FUTURE BELONGS TO THOSE WHO BELIEVE IN THE BEAUTY OF THEIR DREAMS." I have been solo-mining for much of 2014 on my own node with 230GH/s and with no luck. In December 2014 I picked up three antminer s1's and two antminer c1's but could not figure out how to solo-mine on my own node with the antminer c1's so I have been exclusively solo-mining between three different solo-mining pools with those miners, although I shut off a few of the s1's about a month ago due to the heat. Also last month, I rented 1.5PH's for a few hours with no luck either, and also 120THs for about a day and a half. At times you just want to throw in the towel and give up, And then when you least expect it life may just throw you a bone. Although I am still in the hole a little bit, this has almost brought me back to even, and I must say that the sense of accomplishment was worth it. I can now say that I have found a block! So don't give up, and don't throw your life savings renting hashpower, because in this game there are no guarantees and 2TH's can win just the same as 1.5PH Good luck to you all, may the next block be yours!
|
WINGS Beta is live - List your ICO for only 5000 WINGS at https://wings.ai Over $650 Million raised by ICOs with WINGS since June 2017
|
|
|
itod
Legendary
Offline
Activity: 1974
Merit: 1077
^ Will code for Bitcoins
|
|
April 12, 2015, 06:57:13 PM |
|
Every time I wanted to quit my pursuit to solomine a block I would look at the photo above my miners with a quoute from Eleanor Roosevelt that reads "THE FUTURE BELONGS TO THOSE WHO BELIEVE IN THE BEAUTY OF THEIR DREAMS."
I have been solo-mining for much of 2014 on my own node with 230GH/s and with no luck.
In December 2014 I picked up three antminer s1's and two antminer c1's but could not figure out how to solo-mine on my own node with the antminer c1's so I have been exclusively solo-mining between three different solo-mining pools with those miners, although I shut off a few of the s1's about a month ago due to the heat.
Also last month, I rented 1.5PH's for a few hours with no luck either, and also 120THs for about a day and a half.
At times you just want to throw in the towel and give up, And then when you least expect it life may just throw you a bone.
Although I am still in the hole a little bit, this has almost brought me back to even, and I must say that the sense of accomplishment was worth it. I can now say that I have found a block!
So don't give up, and don't throw your life savings renting hashpower, because in this game there are no guarantees and 2TH's can win just the same as 1.5PH
Good luck to you all, may the next block be yours!
Nice story, really glad you did it. Can only imagined how you felt when those rented 1.5PH failed... How much it costed, BTW?
|
|
|
|
Mikestang
Legendary
Offline
Activity: 1274
Merit: 1000
|
|
April 12, 2015, 10:00:11 PM |
|
Every time I wanted to quit my pursuit to solomine a block I would look at the photo above my miners with a quoute from Eleanor Roosevelt that reads "THE FUTURE BELONGS TO THOSE WHO BELIEVE IN THE BEAUTY OF THEIR DREAMS."
I have been solo-mining for much of 2014 on my own node with 230GH/s and with no luck.
In December 2014 I picked up three antminer s1's and two antminer c1's but could not figure out how to solo-mine on my own node with the antminer c1's so I have been exclusively solo-mining between three different solo-mining pools with those miners, although I shut off a few of the s1's about a month ago due to the heat.
Also last month, I rented 1.5PH's for a few hours with no luck either, and also 120THs for about a day and a half.
At times you just want to throw in the towel and give up, And then when you least expect it life may just throw you a bone.
Although I am still in the hole a little bit, this has almost brought me back to even, and I must say that the sense of accomplishment was worth it. I can now say that I have found a block!
So don't give up, and don't throw your life savings renting hashpower, because in this game there are no guarantees and 2TH's can win just the same as 1.5PH
Good luck to you all, may the next block be yours!
Well done, it's what all us little guys hope for. Which box found it? Now go solve another!
|
|
|
|
PublicP2poolNode
|
|
April 12, 2015, 11:37:51 PM Last edit: April 12, 2015, 11:48:24 PM by PublicP2poolNode |
|
Itod... Much more than I want to admit too. Mikestang... It was one of the c1's that found it. In fact, the day before it found it I had that one mining to a different address. So glad I put it back to that one And thanks to everyone else for the congrats, and most importantly ck for making this pool available!
|
WINGS Beta is live - List your ICO for only 5000 WINGS at https://wings.ai Over $650 Million raised by ICOs with WINGS since June 2017
|
|
|
|