import hashlib
header_hex = ("01000000" +
"81cd02ab7e569e8bcd9317e2fe99f2de44d49ab2b8851ba4a308000000000000" +
"e320b6c2fffc8d750423db8b1eb942ae710e951ed797f7affc8892b0f1fc122b" +
"c7f5d74d" +
"f2b9441a" +
"42a14695")
header_bin = header_hex.decode('hex')
hash = hashlib.sha256(hashlib.sha256(header_bin).digest()).digest()
hash.encode('hex_codec')
testblock=hash[::-1].encode('hex_codec')
print "The hash of block 125552: ", testblock;
The mining setup that I built uses an ASICMiner Erupter Blade. I mounted the Blade in an old broken lab power supply that had a working fan in it already. The power supply is a 12V 10A LED power supply. I read some reports of the wires overheating so I went overkill and put some super beefy wires (AWG 8) between the power supply and the Blade. It took a lot of tinkering to set up. Eventually I settled on using 32 bit bfgminer since it has built in stratum proxy capability. I ran it with "bfgminer --http-port 8330" where I configured the Blade through a browser at 192.168.1.254:8000/Main as follows:
UPDATE: I created a .bat file, and put a shortcut to it in my startup folder. Now, everytime I start up my computer, it automatically starts mining. I had to set the properties of the shortcut to run as administrator in order for it to work. The bat file contains:
"cd Desktop/bfgminer-3.7.0-win32
bfgminer --http-port 8330 -o stratum.btcguild.com:3333 -u username -p 123"
Currently, the device mines approximately 293 micro-BTC/hr, but this is likely to decrease in the near future with faster mining machines. Update: down to 99 micro-BTC/hr :(
Update: I stopped mining because electricity costs became greater than the mining reward!
Comments/questions welcome! And of course donations :) 1EXhFqvXkwcXRfhUxmbaUSZgLhGCsWsUcu
I admire what you have done here. I like the part where you say you are doing this to give back but I would assume by all the comments that this is working for you as well. bitcoin in iran
ReplyDeleteHi There,
ReplyDeleteThank you so much for the post you do and also I like your post, Are you looking to Buy Bitcoin miner Online in the whole USA? We are providing Buy sha256-miner online, Buy graphic-cards online, Buy power-supply online, Buy bitmain-antminer online, Buy canaan online, Buy asic-miner online, Buy microbt online, Buy chia-mining online, Buy bitcoin-miner online, Buy bitcoin-hardware-wallet online, Buy MicroBT Whatsminer M32, Buy BITMAIN Antminer, Buy Bitmain Antminer S19J (90TH) June Batch Online, Buy BITMAIN Antminer S19 (95T), Buy BITMAIN Antminer S19J with the well price and our services are very fast. Click here for MORE DETAILS......
STAY CONNECTED
Email: info@bitcoinminemachine.com
Contact:+1(559) 715 2372