Post
Topic
Board Pools (Altcoins)
Re: [ANN][Pool][Profit-Switch][Optional Auto-Exchange per Coin][Vardiff] ~ Hashcows
by
Wipeout2097
on 31/01/2014, 21:02:03 UTC
I have my miner split 50/50 between Hashcows and Middlecoin and after 5 days Hashcows has actually been outperforming Middlecoin.  In fact Hashcows has paid out 29% more than Middlecoin.  Of course, YMMV.  It seems like when one pool does good the other does poorly.  IMHO splitting between the pools evens things out and makes earnings more stable than just mining at one or the other pool.  As far as I know, the only balance you can currently trust at Hashcows is the final payout at 10 PM Central Time.
You don't even have to split 50/50. You can have a script that sets more quota when hashcows is announcing a coin with high profit. For example:

Code:
import time,os,sys,socket,json,urllib2

def SendCGCommand (command, param, silent=True):
    api_ip = '127.0.0.1'
    api_port = 4028

    s = None
    try:
        s = socket.socket (socket.AF_INET, socket.SOCK_STREAM)
        s.connect((api_ip,int(api_port)))
        s.send (json.dumps({"command":command, "parameter":param}))

        data = s.recv(4096).replace('\x00','')
        if not silent:
            response = json.loads (data)
            print response
    except:
        pass


def DumpHashCows ():
    usock = urllib2.urlopen('https://hashco.ws/contact/', timeout = 30)
    data = usock.readlines()
    usock.close()

    profit = 1
    for line in data:
        if 'Profitability:' in line:
            profit = float (line.split (':',1)[1].split('<')[0])

    return profit

while True:
    cows = DumpHashCows ()
    quota = int (cows)
 
    print 'Profit=%.3f' % cows
    
    SendCGCommand ('poolquota', '2,%d' % quota)
    time.sleep (60)
Put 2 middlecoin servers as pool 0 and 1 with quota 50 each (or whatever quota you want), and hashcows pool #2 on your miner config