Bitcoin Forum
May 27, 2024, 03:01:08 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 [28] 29 30 31 32 33 34 »
541  Local / Mining (Deutsch) / Re: GPU-Mining-Profit. Zeit, aufzuwachen? on: March 20, 2014, 12:04:02 PM
hier mal das script... ist auf dem CryptoSwitcher von area aufgebaut...
dauert recht lange bis er alle daten hat... hatte das abgeändert da coinchoose oft down war und ich die korrekten diff haben wollte...
bin totaler anfänger mit python...

Code:
####################################################
# Altcoin Switcher                                 #
# for most coins listed on Cryptsy                 #
# thx to area for his CryptoSwitcher without his   #
# coding style i would have not started playing    #  
# around with python  :)                           #
#                                                  #
# TipJar (BTC): 1H6L4VjrmRizXLLbrKLJQyx7vg87ZLjubD #
# Author: minime                                   #
####################################################


import urllib2
from bs4 import BeautifulSoup
import urllib2
import shutil
import os
import time
import paramiko
import subprocess
import numpy as np
import sys
# Ugly hack so git submodule init is adequate.
sys.path.insert(0, './PyCryptsy/')
from PyCryptsy import PyCryptsy
import itertools
import ConfigParser
import re
import simplejson
import socket

class Coin:
  def __init__(self, name):
   self.ratio=0 # assume totally unprofitable unless otherwise shown to be the case.
   self.willingToMine = False
   self.miningNow = False
   self.willingToSell = False
   self.command = '' # coins['arg'].div = float(coins['arg'].div.sting)the command that is run when we want to mine this coin.
   self.name = name
   self.cnt = 0
   self.median = 0
   self.m = 0
   self.h = 0
   self.fee = 0
   self.source = '--'
   self.price = 0.0
   self.div = 9999999999.9 # start off with ridiculously high diff so we dont mine the wrong coin
   self.reward = 0
   self.algo = ""
#list of Coins
coins = {}
coins['btc'] =  Coin('BitCoin')
coins['42'] =  Coin('42Coin')
coins['leaf'] =  Coin('LeafCoin')
coins['dgc'] =  Coin('DigitalCoin')
coins['glc'] =  Coin('GlobalCoin')
coins['lot'] =  Coin('LottoCoin')
coins['eac'] =  Coin('EarthCoin')
coins['arg'] =  Coin('Argentum')
coins['bqc'] =  Coin('BBQCoin')
coins['doge'] =  Coin('DogeCoin')
coins['frk'] =  Coin('Franko')
coins['anc'] =  Coin('AnonCoin')
coins['ftc'] =  Coin('FeatherCoin')
coins['cnc'] =  Coin('CHNCoin')
#coins['btb'] =  Coin('BitBar')
coins['mec'] =  Coin('MegaCoin')
coins['ltc'] =  Coin('LiteCoin')
coins['wdc'] =  Coin('WorldCoin')
#coins['nvc'] =  Coin('NovaCoin')
coins['mnc'] =  Coin('MinCoin')
coins['tag'] =  Coin('TagCoin')
coins['phs'] =  Coin('Philostone')
coins['cmc'] =  Coin('CosmosCoin')
coins['sbc'] =  Coin('StableCoin')
coins['fst'] =  Coin('FastCoin')
coins['elc'] =  Coin('ElaCoin')
coins['crc'] =  Coin('CraftCoin')
coins['lky'] =  Coin('LuckyCoin')
coins['gld'] =  Coin('GoldCoin')
coins['csc'] =  Coin('CasinoCoin')
coins['dmd'] =  Coin('Diamond')
coins['cat'] =  Coin('CatCoin')

# Read in config file
Config = ConfigParser.ConfigParser()
Config.read('./Switcher.config')

# Enable the coins you want to mine here.
for key in coins:
    try:
        coins[key].willingToMine = Config.getboolean('MineCoins','mine'+key)
    except:
        continue

# You should have scripts that stop all other forms of mining, set
# your clocks and environment variables appropriately, and start
# mining the appropriate coin. I have these called 'litecoin.sh',
# 'bitcoin.sh' etc., but edit and/or replace these as you see fit.

# Any coins you aren't mining you can just leave blank.
for key in coins:
    try:
        coins[key].command = Config.get('Scripts',key+'script')
    except:
        continue




#defibe idletime 5 min standart
try:
    idletime = int(Config.get('Misc','idletime'))
except:
    idletime = 5
    


# create http handler
opener = urllib2.build_opener()
opener.addheaders = [('User-agent', 'Switcher')]

extout = True

# main loop
cnt_all = 0
while True:
    # print header
    print "time:", time.strftime("%Y-%m-%d %H:%M:%S", time.localtime())

    # get data from sources
    prestr = "getting data... "

    #getting dificulty of BitCoin needed as basis for Calculation
    req = urllib2.Request("http://blockexplorer.com/q/getdifficulty")
    f = opener.open(req, timeout = 15)
    coins['btc'].div = simplejson.load(f)
    coins['btc'].reward = float(25)
    #getting price of Bitcoin @Bitstamp needed as basis for Calculation  
    #req = urllib2.Request("https://www.bitstamp.net/api/ticker/")
    #opener_cyp = urllib2.build_opener()
    #f = opener_cyp.open(req, timeout = 15)
    #data_cyp = simplejson.load(f)
    #if coins['btc'].price < float(data_cyp['last']):
        #coins['btc'].price = float(data_cyp['last'])

    #getting Data from Cryptsy
    i=0
    while i < 5:
try:
         req = urllib2.Request("http://pubapi.cryptsy.com/api.php?method=orderdata")
         opener_cyp = urllib2.build_opener()
         f = opener_cyp.open(req, timeout = 20)
         data_cyp = simplejson.load(f)
if i == 5: break
i+=1
        except:
            continue

    
    # loop through coins
    for abbreviation, c in coins.items():
        # only get profitability for coins which we are interested in.
        # this saves network traffic and running time
     if c.willingToMine==False:
         continue

     success = 0
     #assign Prices from Cryptsy to coins
     fullstr = prestr + "price of " + coins[abbreviation].name + " at Cryptsy"
     print fullstr + (79-len(fullstr))*" " + "\r",
     for item in data_cyp['return']:
       if item.lower()==abbreviation:
         if data_cyp['return'][item]['secondarycode']=='BTC':
           if coins[abbreviation].price < float(data_cyp['return'][item]['buyorders'][0]['price']):
               coins[abbreviation].price = float(data_cyp['return'][item]['buyorders'][0]['price'])  
    
       if abbreviation == '42':
           try:
      fullstr = prestr + "difficulty of " + coins['42'].name
               print fullstr + (79-len(fullstr))*" " + "\r",
               usock = urllib2.urlopen('http://altexplorer.net/chain/42', timeout = 15)
               data = usock.read()
               usock.close()
               soup = BeautifulSoup(data)
               v = soup.findAll('td', limit=10)
               coins['42'].div = soup.findAll('td')[9]
               coins['42'].div = float(coins['42'].div.string)
               coins['42'].reward = float(0.000042)
           except:
               continue

       if abbreviation == 'leaf':
  try:
      fullstr = prestr + "difficulty of " + coins['leaf'].name
               print fullstr + (79-len(fullstr))*" " + "\r",
               req = urllib2.Request('http://explorer.leafco.in/chain/leafcoin/q/getdifficulty')
      opener_cyp = urllib2.build_opener()
      f = opener_cyp.open(req, timeout = 15)
      coins['leaf'].div = simplejson.load(f)
               coins['leaf'].div = float(coins['leaf'].div)
               coins['leaf'].reward = float(250000.50)
           except:
               continue

       if abbreviation == 'glc':
  try:
      fullstr = prestr + "difficulty of " + coins['glc'].name
               print fullstr + (79-len(fullstr))*" " + "\r",
      req = urllib2.Request('http://blockchainx.com/chain/Globalcoin/q/getdifficulty')
      opener_cyp = urllib2.build_opener()
      f = opener_cyp.open(req, timeout = 15)
      coins['glc'].div = simplejson.load(f)
      coins['glc'].div = float(coins['glc'].div)
      coins['glc'].reward = float(100)
           except:
               continue

       if abbreviation == 'lot':
  try:
      fullstr = prestr + "difficulty of " + coins['lot'].name
               print fullstr + (79-len(fullstr))*" " + "\r",
      req = urllib2.Request('http://lottocoin.info/chain/lottocoin/q/getdifficulty')
      opener_cyp = urllib2.build_opener()
      f = opener_cyp.open(req, timeout = 15)
      coins['lot'].div = simplejson.load(f)
      coins['lot'].div = float(coins['lot'].div)
      coins['lot'].reward = float(32896)
           except:
               continue

       if abbreviation == 'eac':
  try:
      fullstr = prestr + "difficulty of " + coins['eac'].name
               print fullstr + (79-len(fullstr))*" " + "\r",
      req = urllib2.Request('http://earthchain.info/chain/EarthCoin/q/getdifficulty')
      opener_cyp = urllib2.build_opener()
      f = opener_cyp.open(req, timeout = 15)
      coins['eac'].div = simplejson.load(f)
      coins['eac'].div = float(coins['eac'].div)
      coins['eac'].reward = float(10000)
           except:
               continue

       if abbreviation == 'arg':
  try:
      fullstr = prestr + "difficulty of " + coins['arg'].name
               print fullstr + (79-len(fullstr))*" " + "\r",
      req = urllib2.Request('http://arg.webboise.com/chain/Argentum/q/getdifficulty')
      opener_cyp = urllib2.build_opener()
      f = opener_cyp.open(req, timeout = 15)
      coins['arg'].div = simplejson.load(f)
         coins['arg'].div = float(coins['arg'].div)
      coins['arg'].reward = float(3)
           except:
               continue

       if abbreviation == 'bqc':
  try:
      fullstr = prestr + "difficulty of " + coins['bqc'].name
               print fullstr + (79-len(fullstr))*" " + "\r",
      req = urllib2.Request('http://bbq.cryptocoinexplorer.com/chain/BBQCoin/q/getdifficulty')
      opener_cyp = urllib2.build_opener()
      f = opener_cyp.open(req, timeout = 15)
      coins['bqc'].div = simplejson.load(f)
      coins['bqc'].div = float(coins['bqc'].div)
      coins['bqc'].reward = float(42)
           except:
               continue

       if abbreviation == 'doge':
  try:
      fullstr = prestr + "difficulty of " + coins['doge'].name
               print fullstr + (79-len(fullstr))*" " + "\r",
      req = urllib2.Request('http://dogechain.info/chain/Dogecoin/q/getdifficulty')
      opener_cyp = urllib2.build_opener()
      f = opener_cyp.open(req, timeout = 25)
      coins['doge'].div = simplejson.load(f)
      coins['doge'].div = float(coins['doge'].div)
      coins['doge'].reward = float(250000)
           except:
      continue

       if abbreviation == 'anc':
  try:
      fullstr = prestr + "difficulty of " + coins['anc'].name
               print fullstr + (79-len(fullstr))*" " + "\r",
      req = urllib2.Request('http://explorer.anoncoin.net/chain/Anoncoin/q/getdifficulty')
      opener_cyp = urllib2.build_opener()
      f = opener_cyp.open(req, timeout = 15)
      coins['anc'].div = simplejson.load(f)
      coins['anc'].div = float(coins['anc'].div)  
        coins['anc'].reward = float(5)
           except:
               continue

       if abbreviation == 'btb':
  try:
      fullstr = prestr + "difficulty of " + coins['btb'].name
               print fullstr + (79-len(fullstr))*" " + "\r",
      req = urllib2.Request('http://btb.cryptocoinexplorer.com/chain/bitbar/q/getdifficulty')
      opener_cyp = urllib2.build_opener()
      f = opener_cyp.open(req, timeout = 15)
      coins['btb'].div = simplejson.load(f)
      coins['btb'].div = float(coins['btb'].div)
      coins['btb'].reward = float(0.20)
           except:
               continue

       if abbreviation == 'mec':
  try:
      fullstr = prestr + "difficulty of " + coins['mec'].name
               print fullstr + (79-len(fullstr))*" " + "\r",
      req = urllib2.Request('http://mega.rapta.net:2750/chain/Megacoin/q/getdifficulty')
      opener_cyp = urllib2.build_opener()
      f = opener_cyp.open(req, timeout = 15)
      coins['mec'].div = simplejson.load(f)
      coins['mec'].div = float(coins['mec'].div)
      coins['mec'].reward = float(25)
           except:
               continue


       if abbreviation == 'mnc':
  try:
      fullstr = prestr + "difficulty of " + coins['mnc'].name
               print fullstr + (79-len(fullstr))*" " + "\r",
      usock = urllib2.urlopen('http://mnc.cryptoexplore.com/', timeout = 15)
      data = usock.read()
      usock.close()
      soup = BeautifulSoup(data)
      j = soup.findAll('td', limit=5)
      coins['mnc'].div = soup.findAll('td')[4]
      coins['mnc'].div = float(coins['mnc'].div.string)
      coins['mnc'].reward = float(2)
           except:
               continue

       if abbreviation == 'meow':
  try:
      fullstr = prestr + "difficulty of " + coins['meow'].name
               print fullstr + (79-len(fullstr))*" " + "\r",
      req = urllib2.Request('http://kittehcoinblockexplorer.com/chain/Kittehcoin/q/getdifficulty')
      opener_cyp = urllib2.build_opener()
      f = opener_cyp.open(req, timeout = 15)
      coins['meow'].div = simplejson.load(f)
      coins['meow'].div = float(coins['meow'].div)
      coins['meow'].reward = float(25500)
           except:
               continue

       if abbreviation == 'sbc':
  try:
      fullstr = prestr + "difficulty of " + coins['sbc'].name
               print fullstr + (79-len(fullstr))*" " + "\r",
      req = urllib2.Request('http://sbc.blockexplorer.io/chain/Stablecoin/q/getdifficulty')
      opener_cyp = urllib2.build_opener()
      f = opener_cyp.open(req, timeout = 15)
        coins['sbc'].div = simplejson.load(f)
      coins['sbc'].div = float(coins['sbc'].div)
      coins['sbc'].reward = float(25)
           except:
               continue  

       if abbreviation == 'frk':
  try:
      fullstr = prestr + "difficulty of " + coins['frk'].name
               print fullstr + (79-len(fullstr))*" " + "\r",
      req = urllib2.Request('http://frk.cryptocoinexplorer.com/chain/Franko/q/getdifficulty')
      opener_cyp = urllib2.build_opener()
      f = opener_cyp.open(req, timeout = 25)
        coins['frk'].div = simplejson.load(f)
      coins['frk'].div = float(coins['frk'].div)
      coins['frk'].reward = float(0.25)
           except:
               continue    

       if abbreviation == 'ftc':
  try:
      fullstr = prestr + "difficulty of " + coins['ftc'].name
               print fullstr + (79-len(fullstr))*" " + "\r",
      req = urllib2.Request('http://ftc.cryptocoinexplorer.com/chain/Feathercoin/q/getdifficulty')
      opener_cyp = urllib2.build_opener()
      f = opener_cyp.open(req, timeout = 25)
        coins['ftc'].div = simplejson.load(f)
      coins['ftc'].div = float(coins['ftc'].div)
      coins['ftc'].reward = float(200)
           except:
               continue

       if abbreviation == 'nvc':
  try:
      fullstr = prestr + "difficulty of " + coins['nvc'].name
               print fullstr + (79-len(fullstr))*" " + "\r",
      req = urllib2.Request('http://nvc.cryptocoinexplorer.com/chain/Novacoin/q/getdifficulty')
      opener_cyp = urllib2.build_opener()
      f = opener_cyp.open(req, timeout = 25)
        coins['nvc'].div = simplejson.load(f)
      coins['nvc'].div = float(coins['nvc'].div)
      coins['nvc'].reward = float(9.58)
           except:
               continue

       if abbreviation == 'wdc':
  try:
      fullstr = prestr + "difficulty of " + coins['wdc'].name
               print fullstr + (79-len(fullstr))*" " + "\r",
      req = urllib2.Request('http://wdc.cryptocoinexplorer.com/chain/Worldcoin/q/getdifficulty')
      opener_cyp = urllib2.build_opener()
      f = opener_cyp.open(req, timeout = 25)
        coins['wdc'].div = simplejson.load(f)
      coins['wdc'].div = float(coins['wdc'].div)
      coins['wdc'].reward = float(50.2834)
           except:
               continue

       if abbreviation == 'dgc':
  try:
      fullstr = prestr + "difficulty of " + coins['dgc'].name
               print fullstr + (79-len(fullstr))*" " + "\r",
      req = urllib2.Request('http://dgc.cryptocoinexplorer.com/chain/digitalcoin/q/getdifficulty')
      opener_cyp = urllib2.build_opener()
      f = opener_cyp.open(req, timeout = 25)
        coins['dgc'].div = simplejson.load(f)
      coins['dgc'].div = float(coins['dgc'].div)
      coins['dgc'].reward = float(15)
           except:
               continue

       if abbreviation == 'fst':
  try:
      fullstr = prestr + "difficulty of " + coins['fst'].name
               print fullstr + (79-len(fullstr))*" " + "\r",
      req = urllib2.Request('http://fst.webboise.com/chain/Fastcoin/q/getdifficulty')
      opener_cyp = urllib2.build_opener()
      f = opener_cyp.open(req, timeout = 25)
        coins['fst'].div = simplejson.load(f)
      coins['fst'].div = float(coins['fst'].div)
      coins['fst'].reward = float(32)
           except:
               continue

       if abbreviation == 'elc':
  try:
      fullstr = prestr + "difficulty of " + coins['elc'].name
               print fullstr + (79-len(fullstr))*" " + "\r",
      req = urllib2.Request('http://elc.webboise.com/chain/Elacoin/q/getdifficulty')
      opener_cyp = urllib2.build_opener()
      f = opener_cyp.open(req, timeout = 25)
        coins['elc'].div = simplejson.load(f)
      coins['elc'].div = float(coins['elc'].div)
      coins['elc'].reward = float(2.16594)
           except:
               continue

      

       if abbreviation == 'crc':
  try:
      fullstr = prestr + "difficulty of " + coins['crc'].name
               print fullstr + (79-len(fullstr))*" " + "\r",
      req = urllib2.Request('http://crc.cryptocoinexplorer.com/chain/CraftCoin/q/getdifficulty')
      opener_cyp = urllib2.build_opener()
      f = opener_cyp.open(req, timeout = 15)
        coins['crc'].div = simplejson.load(f)
      coins['crc'].div = float(coins['crc'].div)
      coins['crc'].reward = float(2)
           except:
               continue

       if abbreviation == 'lky':
  try:
      fullstr = prestr + "difficulty of " + coins['lky'].name
               print fullstr + (79-len(fullstr))*" " + "\r",
      req = urllib2.Request('http://explorer.luckycoinfoundation.org:49917/chain/luckycoin/q/getdifficulty')
      opener_cyp = urllib2.build_opener()
      f = opener_cyp.open(req, timeout = 15)
        coins['lky'].div = simplejson.load(f)
      coins['lky'].div = float(coins['lky'].div)
      coins['lky'].reward = float(44)
           except:
               continue

       if abbreviation == 'gld':
  try:
      fullstr = prestr + "difficulty of " + coins['gld'].name
               print fullstr + (79-len(fullstr))*" " + "\r",
      req = urllib2.Request('http://gld.cryptocoinexplorer.com/chain/Goldcoin/q/getdifficulty')
      opener_cyp = urllib2.build_opener()
      f = opener_cyp.open(req, timeout = 15)
        coins['gld'].div = simplejson.load(f)
      coins['gld'].div = float(coins['gld'].div)
      coins['gld'].reward = float(45)
           except:
               continue

       if abbreviation == 'csc':
  try:
      fullstr = prestr + "difficulty of " + coins['csc'].name
               print fullstr + (79-len(fullstr))*" " + "\r",
      req = urllib2.Request('http://casinocoin.mooo.com/chain/CasinoCoin/q/getdifficulty')
      opener_cyp = urllib2.build_opener()
      f = opener_cyp.open(req, timeout = 15)
        coins['csc'].div = simplejson.load(f)
      coins['csc'].div = float(coins['csc'].div)
      coins['csc'].reward = float(50)
           except:
               continue

       if abbreviation == 'dmd':
  try:
      fullstr = prestr + "difficulty of " + coins['dmd'].name
               print fullstr + (79-len(fullstr))*" " + "\r",
      req = urllib2.Request('http://www.diamondblocks.info/chain/Diamond/q/getdifficulty')
      opener_cyp = urllib2.build_opener()
      f = opener_cyp.open(req, timeout = 15)
        coins['dmd'].div = simplejson.load(f)
      coins['dmd'].div = float(coins['dmd'].div)
      coins['dmd'].reward = float(1)
           except:
               continue

       if abbreviation == 'cat':
  try:
      fullstr = prestr + "difficulty of " + coins['cat'].name
               print fullstr + (79-len(fullstr))*" " + "\r",
      req = urllib2.Request('http://catchain.info/chain/Catcoin/q/getdifficulty')
      opener_cyp = urllib2.build_opener()
      f = opener_cyp.open(req, timeout = 15)
        coins['cat'].div = simplejson.load(f)
      coins['cat'].div = float(coins['cat'].div)
      coins['cat'].reward = float(50)
           except:
               continue

       if abbreviation=='btc':
               coins['btc'].ratio=100.0
               coins['btc'].source = '--'
               coins['btc'].algo = "SHA-256"
               coins['btc'].price = 1.0
               success = 1
               break      


#calculating profitability
       if coins[abbreviation].price!=0.0:
                coins[abbreviation].ratio = (coins[abbreviation].reward/coins[abbreviation].div)/(coins['btc'].reward/coins['btc'].div)*coins[abbreviation].price*100/(1350000/1450)
# Now find the best profit coin
    bestcoin = 'btc'
    bestprof = 0
    print "comparing profitabilty..."
    print "-"*69          
    for abbreviation, c in coins.items():
        if extout == True:
                 print "%11s Price(BTC):%.8f Reward:%.2f diff:%.2f Profit:%.0f" % (coins[abbreviation].name, coins[abbreviation].price, coins[abbreviation].reward, coins[abbreviation].div, c.ratio),
    
        
                 print ""
    
        if c.ratio > bestprof and c.willingToMine:
                 bestcoin = abbreviation
                 bestprof = c.ratio

    print "-"*69        
    print "=> Best: %d, mining %s" % (bestprof, coins[bestcoin].name)
    coins[bestcoin].median = (coins[bestcoin].median * coins[bestcoin].cnt) + bestprof / (coins[bestcoin].cnt+1)
    coins[bestcoin].cnt = coins[bestcoin].cnt+1            

    if coins[bestcoin].miningNow == False:
        # i.e. if we're not already mining the best coin
        print '=> Switching to %s (running %s)' % (coins[bestcoin].name, coins[bestcoin].command)
        for abbreviation, c in coins.items():
            c.miningNow = False
        coins[bestcoin].miningNow = True
        subprocess.Popen(coins[bestcoin].command)

      
    print 'Work done for now... going back to sleep...:-)'
    i=0
    while i<idletime*60:
        print "Seconds remaining:", (idletime*60-i), " ", "\r",
        time.sleep(1)
        i+=1


Code:
####################################################
# Altcoin Switcher Config File                     #
#                                                  #
# thx to area for his CryptoSwitcher without his   #
# coding style i would have not started playing    #  
# around with python                               #
# will send ya some donation                       #
# TipJar (BTC): 1H6L4VjrmRizXLLbrKLJQyx7vg87ZLjubD #
# Author: minime                                   #
####################################################


################################################################################
[MineCoins]

# Enable the coins you want to mine here.
mine42 = False
mineLEAF = True
mineDGC = True
mineTAG = False
mineNOBL = False
mineKDC = False
mineCON = False
mineUSDE = False
mineGLC = True
mineDGB = True
mineLOT = True
mineEAC = True
mineARG = True
mineBQC = True
mineDOGE = True
mineFRK = True
mineANC = True
mineFTC = True
mineCNC = True
mineMEC = False
mineLTC = True
mineWDC = True
mineMNC = True
minePHS = True
mineCMC = True
mineSBC = False
mineFST = True
mineELC = True
mineCRC = True
mineLKY = True
mineGLD = True
mineCSC = True
mineDMD = False
mineCAT = False
mineNVC = False
mineBTB = False
mineGDC = False
################################################################################
[Scripts]

# You should have scripts that stop all other forms of mining, set all necesary
#  environment variables, and start mining the appropriate coin.

# Examples included are 'litecoin.sh.sample' and 'bitcoin.sh.sample'.
# Any coins you aren't mining you can just leave blank.
# For Windows you can use bat-files, eg "BTCscript = bitcoin.bat".
PHSscript = ./phillostone.sh
AMCscript = ./americacoin.sh
ANCscript = ./anoncoin.sh
BQCscript = ./bqc.sh
BTBscript = #
BTGscript = ./bitgem.sh
CNCscript = ./CHNcoin.sh
CRCscript = ./craftcoin.sh
ELCscript = ./elacoin.sh
FRKscript = ./franko.sh
FSTscript = ./fastcoin.sh
FTCscript = ./feathercoin.sh
GDCscript = ./grandcoin.sh
GLDscript = ./goldcoin.sh
LKYscript = ./luckycoin.sh
LTCscript = ./litecoin.sh
MECscript = #
MNCscript = ./mincoin.sh
DOGEscript = ./dogcoin.sh
SBCscript = #
WDCscript = ./worldcoin.sh
TAGscript = ./tagcoin.sh
ARGscript = ./argentum.sh
STRscript = ./startcoin.sh
LEAFscript = ./leafcoin.sh
DGCscript = ./digitalcoin.sh
GLCscript = ./globalcoin.sh
LOTscript = ./lottocoin.sh
EACscript = ./earthcoin.sh
DMDscript = #
CATscript = #
CSCscript = ./casinocoin.sh

42script = ./42coin.sh

DGBscript = ./dgbcoin.sh
NOBLscript = ./noblcoin.sh
KDCscript = ./KDCcoin.sh
CONscript = ./concoin.sh
USDEscript = ./usdecoin.sh
SMCscript = ./smscoin.sh

################################################################################
[Misc]

# Idle Time (in minutes) between two checks of coin profitability.
idletime = 5

# Gigahash per second you can output doing normal BTC mining.
ghashpersec = 0.7

# Gigakeys per second you can output doing vanity address mining.
gkeypersec = 0.05

# Trade multiplier - if not 1, sells not at the highest bid, but at this
#  multiple of it.  
tradeMultiplier = 1.02

# make sure our sell order is the lowest if tradeMultiplier > 1
tradeMultiplierCheck = False


################################################################################

Code:
#!/bin/bash
#Replace this script with one of your own.

#Send the quit command to any cgminer instances running
echo "{\"command\":\"quit\"}" | pkill -9 -f mining.py
#Set clocks
export DISPLAY=:0
screen -dmS cgm ./mining.py -pa scrypt -o gigahash.wemineltc.com -p 3333 -cu minime -cp xxxx -sp 6666 -gp 8888

mining.py is der stratum proxy..
542  Local / Mining (Deutsch) / Re: GPU-Mining-Profit. Zeit, aufzuwachen? on: March 20, 2014, 10:54:29 AM
können ja nen deutschen aufmachen... hab nen script von ca 32 scrypt altcoins... könne easy mehr geadded werden... mined den profitabelsten...
Gelesen, das es darum geht andere algos außer SHA256/scrypt als multi pool zu haben?

btw. gibt es eigentlich irgendwo eine Übersicht, welche Algorithmen es aktuell gibt?
der algo is egal... muss nur die formel geändert werden und die daten wo er die dif weg holt bzw coins geändert werden...
ne übersicht an sich über sie algos kenn ich nich... kommt bestimtm wenn mehrer coins am start sind..
543  Local / Mining (Deutsch) / Re: GPU-Mining-Profit. Zeit, aufzuwachen? on: March 20, 2014, 10:44:38 AM
Gibt es einen profit switching pool für alternative algos?

tonnen, multipools nennen sich die dinger, kaufen dir auch direkt die btc wenn du magst. Jeder hasst sie aber hey was solls. https://hashco.ws/ https://www.multipool.us/

viel spass, mach die dicken noch dicker Wink
können ja nen deutschen aufmachen... hab nen script von ca 32 scrypt altcoins... könne easy mehr geadded werden... mined den profitabelsten...
544  Local / Mining (Deutsch) / Re: GPU-Mining-Profit. Zeit, aufzuwachen? on: March 20, 2014, 09:26:09 AM
kein plan, aber man sollte mal herrausfinden wieviele amd karten so fürs mining verwendet werden bestimmt einige... also ich als hersteller dieser grafikkarten hätte ein erhötes interesse daran das auch in zukunft viele grafik karten benötigt werden bzw verwendung finden...
just my 2 btc

Naja, MSI zum Beispiel sieht das anders Cheesy
https://bitcointalk.org/index.php?topic=449405.0
trottel gibts überall...
545  Local / Mining (Deutsch) / Re: GPU-Mining-Profit. Zeit, aufzuwachen? on: March 20, 2014, 09:21:22 AM
Und was sind dann so gute Coins mit diesen Algos? Habs ja auch mal mit VTC versucht,
aber der Kursverlauf bei Cryptsy hat mich nicht vom Hocker gehauen..
kein plan, aber man sollte mal herrausfinden wieviele amd karten so fürs mining verwendet werden bestimmt einige... also ich als hersteller dieser grafikkarten hätte ein erhötes interesse daran das auch in zukunft viele grafik karten benötigt werden bzw verwendung finden...
just my 2 btc
546  Local / Mining (Deutsch) / Re: GPU-Mining-Profit. Zeit, aufzuwachen? on: March 20, 2014, 09:07:50 AM
Ja, also über Gridseed kann man streiten, aber sobald dieser KnC Titan ausgeliefert wird, macht
GPU-mining nicht mal mehr als Hobby Spaß..
keccak nscrypt scypt-jane... das wird schon noch spass machen... noch mehr spass macht das wenn man an günstigen strom kommt..

Groestl nicht zu vergessen, gibt hervorragende Ergebnisse selbst auf schwächeren GPU
so viel zum thema zeit intensiv... kenn ich noch gar nich... habe noch nen pa 5830 hier rum fliegen... mal testen am weekend
547  Local / Mining (Deutsch) / Re: GPU-Mining-Profit. Zeit, aufzuwachen? on: March 20, 2014, 08:11:18 AM
Ja, also über Gridseed kann man streiten, aber sobald dieser KnC Titan ausgeliefert wird, macht
GPU-mining nicht mal mehr als Hobby Spaß..
keccak nscrypt scypt-jane... das wird schon noch spass machen... noch mehr spass macht das wenn man an günstigen strom kommt..
548  Local / Anfänger und Hilfe / Re: BAMT stürzt einfach ab; nur 1GPU wenig KH/s on: March 20, 2014, 07:56:57 AM
kenn ich konnte problem noch nicht identifizieren... cpu geht auf 100% kurz danach ist ende... karten laufen allerdings alle fast gleich..
549  Local / Mining (Deutsch) / Re: GPU-Mining-Profit. Zeit, aufzuwachen? on: March 20, 2014, 07:31:17 AM
Hi Leute, ich habs mir am letzten Wochenende xmal durchgerechnet da ich seit einem Jahr dabei bin und wissen wollte was dabei raus gekommen ist. Ihr werdet nix dran verdienen, es ist nur als Hobby zu sehen wobei nur die GB maker und die HW Verkäufer und Hersteller richtig Kohle machen, es sei denn Ihr habt quasi ein gutes Los gezogen dann macht Ihr Gewinn.  Auch wenn mache es nicht wahr haben wollen, so ist es. Die Staaten in unserer Zeit werden dafür sorgen das die Cryptos nicht zu viel Macht bekommen da könnt ihr euch drauf verlassen, soviel dazu. Das spiegelt nur meine eigene Meinung wieder. Kritik ist erwünscht. Was aber geht, sind Dienstleitungen rund und mit den Cryptos anzubieten, da ist noch ne Menge Luft drin. Nebenbei ich werde ab 01.05 mein komplettes Mining Equipment  verkeufen, das sind 14 x R9280X und 19 x Gridseed Gizmos, etliche BTC Mobos etc., wer Interesse hat dann einfach ne PM ich informiere euch ab 01.05 was geht.
aus meiner sicht is es ein spekulatives hobby bei dem man gewinn macht wenn der btc preis steigt... im goldrausch verdienen meistens die die die Schaufeln verkaufen...
550  Other / Politics & Society / Re: Top Saudi Cleric: The Sun Revolves Around The Earth… on: March 20, 2014, 07:21:23 AM
aint they waiting for their mahdi / al Daddschāl...
551  Other / Politics & Society / Re: NSA, CIA, IRS, DHS, GCHQ, Federal Reserve are the illuminati on: March 19, 2014, 05:20:10 PM
man reading parts of this forum is even more funny than reading alex jones shit....
roflmao
552  Local / Mining (Deutsch) / Re: GPU-Mining-Profit. Zeit, aufzuwachen? on: March 19, 2014, 03:19:36 PM
Ja, hmm, schön und gut, aber ich denke auf die genannten 250€ pro r9 280x sollte
man dann fairerweise einen satten Aufschlag rechnen, wenn man mit diesen Anlagen
die Stromausgaben kompensieren will. Ich meine ja nur, es ging ja mal um
die Wirtschaftlichkeit von Gridseeds..  Cheesy
ehrlich gesagt ging es hier um die profitabilität von GPUs aber kein ding....  Grin Grin
553  Local / Mining (Deutsch) / Re: GPU-Mining-Profit. Zeit, aufzuwachen? on: March 19, 2014, 03:09:35 PM
ich glaub nicht das die abwärme einer GPU für ORC reicht.
OCR wird oft verwendet wenn man ein BHKW hat
richtig... gibt schon "kleinere"..
554  Local / Mining (Deutsch) / Re: GPU-Mining-Profit. Zeit, aufzuwachen? on: March 19, 2014, 01:29:08 PM
wenn du genug wärme hast kannste dir da auch ne orc maschine dran hängen dann kannste aus der wärme eeg strom machen.... aber da brauchste schon bestimmt 500 karten...
555  Local / Presse / Re: [2014-03-16] Finger weg von der "Hacker-Währung" on: March 19, 2014, 08:14:07 AM
die mussten wohl mal wieder Ihre inkompetenz unter beweis stellen, in den usa wird der bitcoin als finanzielle inovation angesehen die es zu regulieren gilt....
556  Local / Mining (Deutsch) / Re: GPU-Mining-Profit. Zeit, aufzuwachen? on: March 18, 2014, 01:59:34 PM
hat mal einer den strom verbrauch von den Lüftern einer grafikkarte gemessen??
557  Local / Mining (Deutsch) / Re: GPU-Mining-Profit. Zeit, aufzuwachen? on: March 18, 2014, 08:19:55 AM
für 250€ gibts eine ati r9 280x die ca 700 kh/sek schaft
dagegen ein Gridseed mit 350 kh/sek für 200€
für diese differenz kann man lange minen.

Ja, wie gesagt, wenn man ehrlich rechnet und Peripherie usw nicht ignoriert.
Legst du dir die Karte neben deinen Router und sie mined von alleine? Nein.. Macht eine Karte Sinn?
Nein.. Du musst dir ein Rig mit 5 von den Karten bauen damit die Effizienz  ok ist.
Ausserdem hast du dir einen teuren Preis für die Gridseed
rausgesucht, ich hab für meine unter 170 Euro gezahlt, alles Zubehör und Versand inkl.
Ausserdem brauchen wir gar nicht weiter diskutieren, die Diff ist jetzt fast schon dort, wo
die deutschen Stromkosten keinen profitablen Betrieb mehr zulassen, selbst wenn wir annehmen
dass du einen GPU-Rig umsonst bekommst.

Glücklich ist der, der die Wärme der GPUs weiter nutzen kann!

Ja, im Winter, der auch mal rum ist Cheesy Ich hab mich ja auch lange an meine GraKas geklammert,
aber irgendwann muss man halt mal aufhören sich die Zahlen schönzurechnen.. Wink

Wenn ich mich nicht irre, sind in einer Packung 5 Chips, d.h. 5x350 KHsh/s, ergo 1,75 MHsh/s für 200€. Das lohnt sich prächtig.

@david123: Berichte bitte mal, ob das so stimmt und wie du mit Verarbeitung/Performance usw. zufrieden bist!
5x60kh/s

5x60 ist schon konservativ, auf LTC-Pools kann man bei moderatem Übertakten mit 400 pro Gerät rechnen. Mein Multipool
zeigt mir im Durchschnitt 360 an. Die Inbetriebnahme ist sehr easy, kein Vergleich zum Gefriemel mit GraKas. Die Verarbeitung
ist solide, ich denke nicht dass es zu Problemen kommt. Ein paar Kleinigkeiten muss man richten (zB die lauten Lüfter ausser Betrieb nehmen
und besseren Ersatz für die mitgelieferten Netzteile besorgen). Stabilität ist bis jetzt einwandfrei.
wohl richtig deswegen wird es sicherlich bald wiesder coins für die gpus geben daran hat alleine schon amd ein interesse...
und das aufwachen beim srypt asci mining kommt schneller als man denkt... ausser der kurs bekommt als bald noch mal einen schönen schub... vielleicht wenn google mit buttercoin an start kommt...
558  Local / Mining (Deutsch) / Re: GPU-Mining-Profit. Zeit, aufzuwachen? on: March 18, 2014, 07:25:37 AM
für 250€ gibts eine ati r9 280x die ca 700 kh/sek schaft
dagegen ein Gridseed mit 350 kh/sek für 200€
für diese differenz kann man lange minen.
Glücklich ist der, der die Wärme der GPUs weiter nutzen kann!

Wenn ich mich nicht irre, sind in einer Packung 5 Chips, d.h. 5x350 KHsh/s, ergo 1,75 MHsh/s für 200€. Das lohnt sich prächtig.

@david123: Berichte bitte mal, ob das so stimmt und wie du mit Verarbeitung/Performance usw. zufrieden bist!
5x60kh/s
559  Local / Mining (Deutsch) / Re: GPU-Mining-Profit. Zeit, aufzuwachen? on: March 18, 2014, 07:17:21 AM
ja stampft alle eure rigs ein kaufe gerne für 10 cent pro mh/s Smiley
560  Local / Mining (Deutsch) / Re: GPU-Mining-Profit. Zeit, aufzuwachen? on: March 17, 2014, 03:51:02 PM
Okay, vor 2 Monaten habe ich angefangen mir zwei 4 Mhsh/s-rigs auf Basis von 7950ern zu bauen. Mittlerweile ist alles so weit, dass ich die rigs 24/7 stabil laufen, dabei (energie)effizient arbeiten (soweit man bei gpu-mining davon sprechen kann). Um Weihnachten rum wurden ja die ersten scrypt-asics angekündigt. Viel war von scams die Rede und davon, dass es min. 6 Monate dauern wird, bis die ersten Kunden beliefert würden und so weiter.

Vor 2 Monaten viel meine Entscheidung daher aufs GPU-Mining. Vor gut 2 Wochen ist die Litecoin-Diff ja sprunghaft angestiegen und ein gegenteiliger Effekt ist nicht absehbar. Oder etwa doch? Ich frage mich ernsthaft, ob meine Rigs über kurz oder lang noch profitabel arbeiten werden. Aktuell, bei meinem Strompreis von 0,22cent und ca. 0,0055 BTC pro Tag pro MHsh/s ist der Ertrag langsam im Peanuts-Bereich angekommen. Ich spiele ernsthaft mit dem Gedanken, die HW zu einem ordentlichen Preis zu verkloppen, solange sie noch etwas wert ist. Oder mal ich hier zu schwarz?



Sind diese kleinen Monster schon "schuld" an der skyrocketing-diff?



Und/oder wird es in absehbarer Zeit etwas geben, dass GPU-Mining attraktiv hält, ananlog zur Entwicklung SHA-256/Scrypt?
Was meint ihr?

es gibt schon nscrypt, keccak, scrypt-jane... asci resitant.. gpus werden schon eine verwendung haben die frage nur zu welchem strom preis das rentabel sein wird oder was man sich für einen zukünftigen btc preis verspricht...
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 [28] 29 30 31 32 33 34 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!