Pages:
Author

Topic: Innosilicon releases A9 Zmaster 50ksol/s Equihash miner at 620W - page 8. (Read 45686 times)

newbie
Activity: 34
Merit: 0
Hi guys

I'm having a few problems with my A9s and was wondering if anyone else has experienced the same. I browesed through most of this thread but didnt answers directly.

Temps are decent at 60-66 without modifying firmware. Place has pretty good ventilation.

Problem 1)
Every 1-2 weeks each miner crashes. Not as in reboots, but crashes so I have to manually go to my site and reboot them. Any experiences or fix for this?

Problem 2)
Im only getting 92-94% accepted rate. Poolside im at 142ish for 3 A9s.
Is this low accept rate normal?

Best,
MZ4
member
Activity: 118
Merit: 86
would someone have the balls and open their A9 and remove a heatsink of one of the chips and make a detailed picture of it? i would pay money for that. please PM me

Why do you need that if I might to ask?
member
Activity: 386
Merit: 18
would someone have the balls and open their A9 and remove a heatsink of one of the chips and make a detailed picture of it? i would pay money for that. please PM me
jr. member
Activity: 98
Merit: 4
Can someone point out the profitability vs hashrate chart / graph for A9 Zmaster 50ksol/s Equihash miner at 620W since its release.

Profitability chart: https://www.asicminervalue.com/miners/innosilicon/a9-zmaster
Hashrate/diff chart: https://www.difficultychart.com (loads slowly)

Thanks for that. Got one more.
https://www.coinwarz.com/difficulty-charts/zcash-difficulty-chart

To summarize, from July ( release) difficulty has quadrupled (40 from 10) and profitability of this miner has become 1/4th (20 from 80) - this is rough calculation when converted to dollar which is not a very good way to calculate as price of zcash has tumbled from 400+ to 130+.

Do we have a chart of zcash coins ( on an average ) mined per day at 50 ksols/s ( i.e per miner) vs difficulty since July release.




Got two links where one says 0.532 zcash per day in July.
https://bitcointalksearch.org/topic/m.41862029
.41 zcash per day in August
https://bitcointalksearch.org/topic/m.43300417

Can someone post their complete day to day earnings from past 3 months of a single miner.
Do we have a inno chart or predictor tool or so to fetch historical earnings. Need it for a debate.

Something like this that you are looking for ?
profitability calc vs BTC:
https://www.coinwarz.com/cryptocurrency
difficulty:
https://www.coinwarz.com/difficulty-charts/zcash-difficulty-chart
network hashrate:
https://www.coinwarz.com/network-hashrate-charts/zcash-network-hashrate-chart

I need past 3 months earnings of zec / day historical data with this miner.
For example from above links which i gave in july it was 0.53 zec/day , in august 0.41/day as per miners.
Need a chart which shows variation of earnings(in zec/day) vs diff of past 100 days
or
a data chart of past 100 days of coinwarz / whattomine predictions for each day.

I hope someone has the answer for you(all of us) ! ! !

Sorry I can't help.

Best of luck!
newbie
Activity: 20
Merit: 0
Can someone point out the profitability vs hashrate chart / graph for A9 Zmaster 50ksol/s Equihash miner at 620W since its release.

Profitability chart: https://www.asicminervalue.com/miners/innosilicon/a9-zmaster
Hashrate/diff chart: https://www.difficultychart.com (loads slowly)

Thanks for that. Got one more.
https://www.coinwarz.com/difficulty-charts/zcash-difficulty-chart

To summarize, from July ( release) difficulty has quadrupled (40 from 10) and profitability of this miner has become 1/4th (20 from 80) - this is rough calculation when converted to dollar which is not a very good way to calculate as price of zcash has tumbled from 400+ to 130+.

Do we have a chart of zcash coins ( on an average ) mined per day at 50 ksols/s ( i.e per miner) vs difficulty since July release.




Got two links where one says 0.532 zcash per day in July.
https://bitcointalksearch.org/topic/m.41862029
.41 zcash per day in August
https://bitcointalksearch.org/topic/m.43300417

Can someone post their complete day to day earnings from past 3 months of a single miner.
Do we have a inno chart or predictor tool or so to fetch historical earnings. Need it for a debate.

Something like this that you are looking for ?
profitability calc vs BTC:
https://www.coinwarz.com/cryptocurrency
difficulty:
https://www.coinwarz.com/difficulty-charts/zcash-difficulty-chart
network hashrate:
https://www.coinwarz.com/network-hashrate-charts/zcash-network-hashrate-chart

I need past 3 months earnings of zec / day historical data with this miner.
For example from above links which i gave in july it was 0.53 zec/day , in august 0.41/day as per miners.
Need a chart which shows variation of earnings(in zec/day) vs diff of past 100 days
or
a data chart of past 100 days of coinwarz / whattomine predictions for each day.
jr. member
Activity: 98
Merit: 4
Who knows how to disable logging. Because A9 reboots after using full memory. it is not profitable. Maybe there's just nohup > "filename"

prohashing.com

You will have something like only 45% used memory after 40 hours without a reboot.

PLEASE VERIFY to everyone here that this statement is true, if you try!
(Statement based upon own experience from friends with A9's. Seen it with my own eyes!)

I mined about 15 16 hours on Prohashing.

2 out 4 A9s once rebooted but not from full memory, I dunno why but they rebooted.

I have ping from prohashing about 190ms Average.

And average Ksol is lower than 200Ksols ( about 170Ksols ) ...! ( each A9 = 41 Ksol in the Prohashing  Huh )

that sounds bad...
Not good at all ! ! !

and Ping is ok ! ! !

does all 4 A9's have the same firmware version ? ? ?
did all 4 A9's have about same temp on boards or same ambient temp ? ? ?
are all 4 A9's in same subnet of the network or the same network ? ? ?

Have you ever had problem with thoose 2 A9's before compared to what you would expect all 4 together doing same thing ? ? ?

Have you contacted prohashing and asked what could be the cause that 2 out of 4 reboots when mining to same account ? ? ? (perhaps they can see something in their logs that could explain what happened ? ? ?)

thats not logical, thats strange ! ! ! ! ! !

What about earnings/mined coins per hour or 12 hour compared to other mining pools ? ? ?

what about memory usage compared to other mining pools ? ? ?

Does not sound like prohashing works for you ! ! !

Have you run all 4 A9's on 4 different mining pools at the same time and compared 24 hour earnings ? ? ?

Good luck anyways Smiley

All of them are OK. and now It shows 54 Ksol for each a9 :|
About earning I dont know, must mine for 1 day ...
but for now It shows ( 16 H mining for 3 A9s = 0.295 zec ) , Is it good ?

Thanks for your help

3 A9's x 54 ksol/s =
in theory:

https://www.cryptocompare.com/mining/calculator/zec?HashingPower=162000&HashingUnit=H%2Fs&PowerConsumption=1800&CostPerkWh=0.11&MiningPoolFee=1


https://www.coinwarz.com/calculators/zcash-mining-calculator/?h=154000&p=1800&pc=0.10&pf=1.00&d=20996279.24377770&r=10.00146046&er=0.01894423&btcer=6329.80000000&hc=0.00


https://whattomine.com/coins?utf8=%E2%9C%93&adapt_q_280x=0&adapt_q_380=0&adapt_q_fury=0&adapt_q_470=0&adapt_q_480=3&adapt_q_570=0&adapt_q_580=0&adapt_q_vega56=0&adapt_q_vega64=0&adapt_q_750Ti=0&adapt_q_1050Ti=0&adapt_q_10606=0&adapt_q_1070=0&adapt_q_1070Ti=0&adapt_q_1080=0&adapt_q_1080Ti=0ð=true&factor%5Beth_hr%5D=52.0&factor%5Beth_p%5D=405.0&zh=true&factor%5Bzh_hr%5D=68.0&factor%5Bzh_p%5D=0.0&factor%5Bcns_hr%5D=2700.0&factor%5Bcns_p%5D=330.0&cnh=true&factor%5Bcnh_hr%5D=2850.0&factor%5Bcnh_p%5D=330.0&cn7=true&factor%5Bcn7_hr%5D=2000.0&factor%5Bcn7_p%5D=330.0&eq=true&factor%5Beq_hr%5D=154000.0&factor%5Beq_p%5D=1800&lre=true&factor%5Blrev2_hr%5D=106500.0&factor%5Blrev2_p%5D=420.0&ns=true&factor%5Bns_hr%5D=2460.0&factor%5Bns_p%5D=450.0&tt10=true&factor%5Btt10_hr%5D=27.0&factor%5Btt10_p%5D=450.0&x16r=true&factor%5Bx16r_hr%5D=21.0&factor%5Bx16r_p%5D=360.0&l2z=true&factor%5Bl2z_hr%5D=1.35&factor%5Bl2z_p%5D=360.0&phi2=true&factor%5Bphi2_hr%5D=0.0&factor%5Bphi2_p%5D=0.0&xn=true&factor%5Bxn_hr%5D=4.8&factor%5Bxn_p%5D=360.0&factor%5Bhx_hr%5D=8.1&factor%5Bhx_p%5D=240.0&phi=true&factor%5Bphi_hr%5D=45.0&factor%5Bphi_p%5D=390.0&factor%5Bcost%5D=0.1&sort=Profitability24&volume=0&revenue=24h&factor%5Bexchanges%5D%5B%5D=&factor%5Bexchanges%5D%5B%5D=binance&factor%5Bexchanges%5D%5B%5D=bitfinex&factor%5Bexchanges%5D%5B%5D=bittrex&factor%5Bexchanges%5D%5B%5D=cryptobridge&factor%5Bexchanges%5D%5B%5D=cryptopia&factor%5Bexchanges%5D%5B%5D=hitbtc&factor%5Bexchanges%5D%5B%5D=poloniex&factor%5Bexchanges%5D%5B%5D=yobit&dataset=Main&commit=Calculate

So I think It's good so far, right ?

16h = 0.295 , 1h = 0.0184375 . coinwarz 1h (@40M diff) : 0.01688078

I set the threshold to 0.01 , Is it natural that the site payout so late ?

I also think it's good, but ...
I have only been into mining and cryptos since beginning july this year.
I'm still a kind of newbie and lots to learn yet Wink
Better let someone else with more experience answer and perhaps give feedback to us all !
jr. member
Activity: 98
Merit: 4
Who knows how to disable logging. Because A9 reboots after using full memory. it is not profitable. Maybe there's just nohup > "filename"

prohashing.com

You will have something like only 45% used memory after 40 hours without a reboot.

PLEASE VERIFY to everyone here that this statement is true, if you try!
(Statement based upon own experience from friends with A9's. Seen it with my own eyes!)

I mined about 15 16 hours on Prohashing.

2 out 4 A9s once rebooted but not from full memory, I dunno why but they rebooted.

I have ping from prohashing about 190ms Average.

And average Ksol is lower than 200Ksols ( about 170Ksols ) ...! ( each A9 = 41 Ksol in the Prohashing  Huh )

that sounds bad...
Not good at all ! ! !

and Ping is ok ! ! !

does all 4 A9's have the same firmware version ? ? ?
did all 4 A9's have about same temp on boards or same ambient temp ? ? ?
are all 4 A9's in same subnet of the network or the same network ? ? ?

Have you ever had problem with thoose 2 A9's before compared to what you would expect all 4 together doing same thing ? ? ?

Have you contacted prohashing and asked what could be the cause that 2 out of 4 reboots when mining to same account ? ? ? (perhaps they can see something in their logs that could explain what happened ? ? ?)

thats not logical, thats strange ! ! ! ! ! !

What about earnings/mined coins per hour or 12 hour compared to other mining pools ? ? ?

what about memory usage compared to other mining pools ? ? ?

Does not sound like prohashing works for you ! ! !

Have you run all 4 A9's on 4 different mining pools at the same time and compared 24 hour earnings ? ? ?

Good luck anyways Smiley

All of them are OK. and now It shows 54 Ksol for each a9 :|
About earning I dont know, must mine for 1 day ...
but for now It shows ( 16 H mining for 3 A9s = 0.295 zec ) , Is it good ?

Thanks for your help

3 A9's x 54 ksol/s =
in theory:

https://www.cryptocompare.com/mining/calculator/zec?HashingPower=162000&HashingUnit=H%2Fs&PowerConsumption=1800&CostPerkWh=0.11&MiningPoolFee=1


Given current difficulty:
https://www.coinwarz.com/calculators/zcash-mining-calculator/?h=154000.00&p=1800.00&pc=0.10&pf=1.00&d=41,139,108.68371900&r=10.00146046&er=0.01894423&btcer=6329.80000000&hc=0.00

Given current difficulty:
https://whattomine.com/coins?utf8=%E2%9C%93&adapt_q_280x=0&adapt_q_380=0&adapt_q_fury=0&adapt_q_470=0&adapt_q_480=3&adapt_q_570=0&adapt_q_580=0&adapt_q_vega56=0&adapt_q_vega64=0&adapt_q_750Ti=0&adapt_q_1050Ti=0&adapt_q_10606=0&adapt_q_1070=0&adapt_q_1070Ti=0&adapt_q_1080=0&adapt_q_1080Ti=0ð=true&factor%5Beth_hr%5D=52.0&factor%5Beth_p%5D=405.0&zh=true&factor%5Bzh_hr%5D=68.0&factor%5Bzh_p%5D=0.0&factor%5Bcns_hr%5D=2700.0&factor%5Bcns_p%5D=330.0&cnh=true&factor%5Bcnh_hr%5D=2850.0&factor%5Bcnh_p%5D=330.0&cn7=true&factor%5Bcn7_hr%5D=2000.0&factor%5Bcn7_p%5D=330.0&eq=true&factor%5Beq_hr%5D=154000.0&factor%5Beq_p%5D=1800&lre=true&factor%5Blrev2_hr%5D=106500.0&factor%5Blrev2_p%5D=420.0&ns=true&factor%5Bns_hr%5D=2460.0&factor%5Bns_p%5D=450.0&tt10=true&factor%5Btt10_hr%5D=27.0&factor%5Btt10_p%5D=450.0&x16r=true&factor%5Bx16r_hr%5D=21.0&factor%5Bx16r_p%5D=360.0&l2z=true&factor%5Bl2z_hr%5D=1.35&factor%5Bl2z_p%5D=360.0&phi2=true&factor%5Bphi2_hr%5D=0.0&factor%5Bphi2_p%5D=0.0&xn=true&factor%5Bxn_hr%5D=4.8&factor%5Bxn_p%5D=360.0&factor%5Bhx_hr%5D=8.1&factor%5Bhx_p%5D=240.0&phi=true&factor%5Bphi_hr%5D=45.0&factor%5Bphi_p%5D=390.0&factor%5Bcost%5D=0.1&sort=Profitability24&volume=0&revenue=24h&factor%5Bexchanges%5D%5B%5D=&factor%5Bexchanges%5D%5B%5D=binance&factor%5Bexchanges%5D%5B%5D=bitfinex&factor%5Bexchanges%5D%5B%5D=bittrex&factor%5Bexchanges%5D%5B%5D=cryptobridge&factor%5Bexchanges%5D%5B%5D=cryptopia&factor%5Bexchanges%5D%5B%5D=hitbtc&factor%5Bexchanges%5D%5B%5D=poloniex&factor%5Bexchanges%5D%5B%5D=yobit&dataset=Main&commit=Calculate
jr. member
Activity: 98
Merit: 4
Who knows how to disable logging. Because A9 reboots after using full memory. it is not profitable. Maybe there's just nohup > "filename"

prohashing.com

You will have something like only 45% used memory after 40 hours without a reboot.

PLEASE VERIFY to everyone here that this statement is true, if you try!
(Statement based upon own experience from friends with A9's. Seen it with my own eyes!)

I mined about 15 16 hours on Prohashing.

2 out 4 A9s once rebooted but not from full memory, I dunno why but they rebooted.

I have ping from prohashing about 190ms Average.

And average Ksol is lower than 200Ksols ( about 170Ksols ) ...! ( each A9 = 41 Ksol in the Prohashing  Huh )

that sounds bad...
Not good at all ! ! !

and Ping is ok ! ! !

does all 4 A9's have the same firmware version ? ? ?
did all 4 A9's have about same temp on boards or same ambient temp ? ? ?
are all 4 A9's in same subnet of the network or the same network ? ? ?

Have you ever had problem with thoose 2 A9's before compared to what you would expect all 4 together doing same thing ? ? ?

Have you contacted prohashing and asked what could be the cause that 2 out of 4 reboots when mining to same account ? ? ? (perhaps they can see something in their logs that could explain what happened ? ? ?)

thats not logical, thats strange ! ! ! ! ! !

What about earnings/mined coins per hour or 12 hour compared to other mining pools ? ? ?

what about memory usage compared to other mining pools ? ? ?

Does not sound like prohashing works for you ! ! !

Have you run all 4 A9's on 4 different mining pools at the same time and compared 24 hour earnings ? ? ?

Good luck anyways Smiley
jr. member
Activity: 98
Merit: 4
Who knows how to disable logging. Because A9 reboots after using full memory. it is not profitable. Maybe there's just nohup > "filename"

prohashing.com

You will have something like only 45% used memory after 40 hours without a reboot.

PLEASE VERIFY to everyone here that this statement is true, if you try!
(Statement based upon own experience from friends with A9's. Seen it with my own eyes!)
newbie
Activity: 2
Merit: 0
Who knows how to disable logging. Because A9 reboots after using full memory. it is not profitable. Maybe there's just nohup > "filename"
jr. member
Activity: 98
Merit: 4
What is needed to Overclock the A9?
What software is loaded? Cgminer?

I think it's cgminer!
because...
/config/cgminer.conf

SSH
user: root
password: blacksheepwall

/var/www/webif/api/

and a lot of knowhow !

PLEASE do share if you find any solution !!!

Thanks for the reply. Has anyone tried it and failed? From all the previous 49 pages , I think none tried to OC. Right?

I guess everybody failed because hasn't yet found any answer on HOW !?!?

Answer might be in here:

/var/www/webif/api/Common/common.inc.php
Quote

use Firebase\JWT\JWT;

/*
 * Obtains the JWT from a predefined file
 * if the file doesn't exists, generate random
 * key and write that key to a file.
 * This file is being generated on every reboot.
 */
function get_jwt_key() {
    global $config;
    $content=null;
    if (file_exists($config["jwtKeyFile"]))
        $content=@file_get_contents($config["jwtKeyFile"]);

    if ($content==null||$content=="") {
        $key=rand_string(20);
        file_put_contents($config["jwtKeyFile"],$key);
        return $key;
    }

    return $content;
}

/*
 * Generate random string with a desired length
 */
function rand_string( $length ) {
    $chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
    return substr(str_shuffle($chars),0,$length);
}

/*
 * Common function to obtain current network setting
 */
function getNetwork() {
    global $config;
    $networkFileParsed=@parse_ini_file($config["interfacesDirectory"].$config["interfacesFile"]);

    $dhcp="dhcp";
    if ($networkFileParsed!=null) {
        if (array_key_exists("DHCP", $networkFileParsed) && $networkFileParsed["DHCP"] == 1) {
            $dhcp = "dhcp";
        } else {
            $dhcp = "static";
        }
    }
    $ip   = exec("ifconfig | grep inet | sed -n '1p' | awk '{print $2}' | awk -F ':' '{print $2}'");
    $netmask= exec("ifconfig |grep inet| sed -n '1p'|awk '{print $4}'|awk -F ':' '{print $2}'");
    $gw = exec("route -n | grep eth0 | grep UG | awk '{print $2}'");
    $dns[0]="";
    $dns[1]="";
    if (file_exists($config["resolvFile"])) {
        $dnsContent = file($config["resolvFile"], FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES);
        $i=0;
        foreach ($dnsContent as $item) {
            $dnsParts=explode("nameserver ",$item);
            if(isset($dnsParts[1])) {
                $dns[$i]=trim($dnsParts[1]);
                $i++;
            }
        }
    }
    return array(
        "dhcp"=>$dhcp,
        "ipaddress"=>$ip,
        "netmask"=>$netmask,
        "gateway"=>$gw,
        "dns1"=>$dns[0],
        "dns2"=>$dns[1]);
}

/*
 * It returns the name of the user (admin/guest) if valid credentials are provided
 * through JWT or Basic Auth. returns null if the authentication fail or "expired" if the
 * JWT is expired
 */
function getLoggedUser() {
    global $config;
    $token=getBearerToken();
    if ($token!=null||(isset($_SERVER['PHP_AUTH_USER'])&&isset($_SERVER['PHP_AUTH_USER'])&&isset($_SERVER['PHP_AUTH_PW']))) {

        if ($token == null&&isset($_SERVER['PHP_AUTH_USER'])) {
            if (isset($_SERVER['PHP_AUTH_USER'])&&isset($_SERVER['PHP_AUTH_PW'])) {
                $username=preg_replace("/[^a-zA-Z0-9_\-]+/","",$_SERVER['PHP_AUTH_USER']);
                $users=array();
                if (file_exists($config["usersFile"])) {
                    $configContent=@file_get_contents($config["usersFile"]);
                } else {
                    if ($username == $config["userAdmin"]) {
                        return $config["userAdmin"];
                    } elseif ($username == $config["userGuest"]) {
                        return $config["userGuest"];
                    } else {
                        return null;
                    }
                }
                if (isset($configContent)&&$configContent!=null&&$configContent!="") {
                    $users = json_decode($configContent, true);
                }

                foreach ($users as $user) {
                    if ($username == $user["username"]) {
                        if (generatePasswordHash($_SERVER['PHP_AUTH_PW'])==$user["password"]) {
                            return $user["username"];
                        } elseif ($username == $config["userAdmin"] && generatePasswordHash($config["passwordAdmin"])==$user["password"]) {
                            return $user["username"];
                        } elseif ($username == $config["userGuest"] && generatePasswordHash($config["passwordGuest"])==$user["password"]) {
                            return $user["username"];
                        } else {
                            return null;
                        }
                    }
                }
            }
        } else {
            try {
                $decoded = JWT::decode($token, get_jwt_key(), array('HS256'));
                return $decoded->user;
            }catch(\Exception $e) {
                return "expired";
            }
        }
    }
    return null;
}

/*
 * Validate an IP address
 */
function isValidIp($ip) {
    if (long2ip(ip2long($ip)) == $ip) {
        return true;
    }
    return false;
}

/*
 * Convert IP Mask Address format to Cidr, needed for systemd network
 * configuration file
 */
function mask2cidr($mask){
    $long = ip2long($mask);
    $base = ip2long('255.255.255.255');
    return 32-log(($long ^ $base)+1,2);
}

/*
 * Generate a hash using a predefined salt
 */
function generatePasswordHash($password) {
    global $config;
    return hash('sha256', $config["salt"].$password);
}

/*
 * Remove special characters from the worker, not implemented yet
 */
function cleanWorker($string) {
    $string = str_replace(' ', '-', $string);
    return preg_replace('/[^A-Za-z0-9\-\.\_]/', '', $string);
}

/*
 * Multi server function to obtain the Headers Autorization
 */
function getAuthorizationHeader(){
    $headers = null;
    if (isset($_SERVER['Authorization'])) {
        $headers = trim($_SERVER["Authorization"]);
    }
    else if (isset($_SERVER['HTTP_AUTHORIZATION'])) { //Nginx or fast CGI
        $headers = trim($_SERVER["HTTP_AUTHORIZATION"]);
    } elseif (function_exists('apache_request_headers')) {
        $requestHeaders = apache_request_headers();
        // Server-side fix for bug in old Android versions (a nice side-effect of this fix means we don't care about capitalization for Authorization)
        $requestHeaders = array_combine(array_map('ucwords', array_keys($requestHeaders)), array_values($requestHeaders));
        //print_r($requestHeaders);
        if (isset($requestHeaders['Authorization'])) {
            $headers = trim($requestHeaders['Authorization']);
        }
    }
    return $headers;
}

/*
 * Get HardWare version from
 */
function getHardwareVersion() {
    global $config;
    $fileContent=@file_get_contents($config["hardwareVersionFile"]);
    $hwVersion="";
    if ($fileContent!=null&&strlen($fileContent)>0) {
        $hwVersionParts=explode(" ",trim($fileContent));
        $hwVersion=$hwVersionParts[0];
    }
    return $hwVersion;
}

/*
 * Get Hardware Type
 */
function getMinerType() {
    global $config;
    $fileContent=@file_get_contents($config["hardwareVersionFile"]);
    $typeVersion="";
    if ($fileContent!=null&&strlen($fileContent)>0) {
        $hwVersionParts=explode(" ",trim($fileContent));
        $typeVersionParts=explode(".",trim($hwVersionParts[1]));
        $typeVersion=strtoupper($typeVersionParts[0]);
    }
    return $typeVersion;
}

/*
 * Get Versions Array
 */
function getVersions() {
    global $config;
    //Version
    $version="";
    $buildDate="";
    $hardwareVersion="";

    $fileContent=@file_get_contents($config["hardwareVersionFile"]);
    if ($fileContent!=null&&$fileContent!="") {
        $hwVersionParts=explode(" ",trim($fileContent));
        if (count($hwVersionParts)>0) {
            $hardwareVersion=$hwVersionParts[0];
        }
    }


    $flag=trim(exec('/usr/sbin/fw_printenv -n image_flag'));
    if ($flag!="")
    {
        $version_type = "";
        if ($flag=="0")
        {
            $version_type="version_0";
        }
        else if ($flag=="1")
        {
            $version_type="version_1";
        }
        else if ($flag=="a")
        {
            $version_type="version_a";
        }
        else if ($flag=="b")
        {
            $version_type="version_b";
        }

        if($version_type != "")
        {
            $version=trim(exec('/usr/sbin/fw_printenv -n '.$version_type));
        }
    }
    if ($version!=""){
        $date=getDateFromVersion($version);
        if (!is_null($date)) {
            $buildDate=date_format($date,'jS \of F Y h:i A');
        }
    }

    $macAddress=exec('cat /sys/class/net/eth0/address');


    return array("hwver"=>$hardwareVersion,
        "ethaddr"=>$macAddress,
        "build_date"=>$buildDate,
        "platform_v"=>$version);
}

/*
 * Get Data from File or Version
 */
function getDateFromVersion($version) {
    $versionParts=explode("_",$version);
    $date=null;
    if (count($versionParts)>=3)
    {
        //Well formatted
        if(count($versionParts) == 3)
        {
            $date = date_create_from_format('Ymd His', $versionParts[1] . " " . $versionParts[2]);
        }
        else if(count($versionParts) == 4)
        {
            $date = date_create_from_format('Ymd His', $versionParts[2] . " " . $versionParts[3]);
        }
    }
    return $date;
}

/*
 * Get Timestamp from File or Version
 */
function getTimestampFromVersion($version,$platform)
{
    $versionParts=explode("_",$version);
    $date=null;
    if (count($versionParts)>=3)
    {
        if(strtolower($platform) == 'soc')
        {
            //Well formatted
            $date = date_create_from_format('Ymd His', $versionParts[2] . " " . $versionParts[3]);
        }
        else
        {
            //Well formatted
            $date = date_create_from_format('Ymd His', $versionParts[1] . " " . $versionParts[2]);         
        }
        $timestamp = date_timestamp_get($date);
    }
    return $timestamp;
}

/*
 * Parses the authorization header of a request and obtain the Baerer Token
 */
function getBearerToken() {
    $headers = getAuthorizationHeader();
    if (!empty($headers)) {
        if (preg_match('/Bearer\s(\S+)/', $headers, $matches)) {
            return $matches[1];
        }
    }
    return null;
}
// function to parse the http auth header
function http_digest_parse($txt)
{
    // protect against missing data
    $needed_parts = array('nonce'=>1, 'nc'=>1, 'cnonce'=>1, 'qop'=>1, 'username'=>1, 'uri'=>1, 'response'=>1);
    $data = array();
    $keys = implode('|', array_keys($needed_parts));

    preg_match_all('@(' . $keys . ')=(?Sad[\'"])([^\2]+?)\2|([^\s,]+))@', $txt, $matches, PREG_SET_ORDER);

    foreach ($matches as $m) {
        $data[$m[1]] = $m[3] ? $m[3] : $m[4];
        unset($needed_parts[$m[1]]);
    }

    return $needed_parts ? false : $data;
}

/*
 * Get Data using PHP curl with the defined $params
 */
function getUrlData($url,$params=null) {
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, true);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
    if (is_null($params)) {
        curl_setopt($ch, CURLOPT_URL, $url);
    } else {
        $query=http_build_query($params);
        curl_setopt($ch, CURLOPT_URL, $url."?".$query);
    }
    $result=curl_exec($ch);
    curl_close($ch);

    if ($result!=null&&$result!="") {
        return $result;
    }
    return null;
}

/*
 * Check if Auto Tune is Enabled
 */
function isAutoTuneEnabled() {
    global $config;
    $configContent=@file_get_contents($config["configFile"]);
    if ($configContent!=null&&$configContent!="") {
        $configArray = json_decode($configContent, true);
        if (is_array($configArray)&&array_key_exists(getMinerType()."noauto",$configArray)) {
            return false;
        }

    }
    return true;
}

/*
 * Returns cgminer autotune mode
 */
function getAutoTuneConfig()
{
    global $config;
    header('Content-Type: application/json');

    $mode="factory"; //default
    $level = "2"; //default level
    $configContent=@file_get_contents($config["profileFile"]);
    if ($configContent!=null&&$configContent!="")
    {
        $profileFile = json_decode($configContent, true);
        if (!is_null($profileFile)&&isset($profileFile["mode"]))
        {
            $mode=$profileFile["mode"];
        }
        if (!is_null($profileFile)&&isset($profileFile["level"]))
        {
            $level=$profileFile["level"];
        }
    }
    return array("mode"=>$mode,"level"=>$level);
}

/**
 * get the hash rate show
 */
function getHashRateShow($hashrate)
{
    global $miner_list;
    $minertype = getMinerType();
    $hash = 0;
    $unit_h = "H/s";

    $type_list = $miner_list;

    $unit_list = array("","K","M","G","T","P","E");

    if(in_array($minertype,array_keys($type_list)))
    {
        $miner_arr = $type_list[$minertype];
    }
    else
    {
        $miner_arr = $type_list['Default'];
    }

    $hash = $hashrate * $miner_arr[0];
    //get the unit
    $cal_hash = $hash;
    $unit_key = 0;
    while($cal_hash >= 1000)
    {
        $cal_hash /= 1000;
        $unit_key ++;
    }
    $unit_h = !empty($miner_arr[1]) ? $miner_arr[1] : $unit_h;
    $unit = $unit_list[$unit_key].$unit_h;
    return array(
        "hash_rate" =>  $hash,
        "cal_hash"  =>  $cal_hash,
        "unit"      =>  $unit,
        "unit_h"    =>  $unit_h
    );

}

/**
 * get the lock state
 */
function readlockstate()
{
    $flag=trim(exec('/sbin/flagutils read'));
    if(isset($flag) && !empty($flag) && $flag == 1)
    {
        return "1";
    }
    else
    {
        return "0";
    }
}

/**
 * set the lock
 */
function setlockstate()
{
    exec('/sbin/flagutils set',$result,$status);
    if(strlen($status) > 0 && $status == 0)
    {
        return true;
    }
    else
    {
        return false;
    }
}

/**
 * write record
 */
function writerecord($src,$section,$before,$after)
{
    //judge the source
    $src_write = 1;
    if(isset($src['src']))
    {
        if($src['src'] == 1 || $src['src'] == 2)
        {
            $src_write = $src['src'];
        }
        else
        {
            $src_write = 0;
        }
    }
    $section_arr = array("pool1","pool2","pool3","ip","web_user","run_mode","lock");
    if(in_array($section, $section_arr))
    {
        //section before after
        if(strlen($section) > 0  && strlen($before) && strlen($after))
        {
            $cmd = "/sbin/events_record ".$src_write." ".$section." ".$before." ".$after;
            exec($cmd,$result,$status);
            if(strlen($status) > 0 && $status == 0)
            {
                return true;
            }
            else
            {
                return false;
            }
        }       
    }
    else
    {
        return false;
    }

}
jr. member
Activity: 98
Merit: 4
Can someone point out the profitability vs hashrate chart / graph for A9 Zmaster 50ksol/s Equihash miner at 620W since its release.

Profitability chart: https://www.asicminervalue.com/miners/innosilicon/a9-zmaster
Hashrate/diff chart: https://www.difficultychart.com (loads slowly)

Thanks for that. Got one more.
https://www.coinwarz.com/difficulty-charts/zcash-difficulty-chart

To summarize, from July ( release) difficulty has quadrupled (40 from 10) and profitability of this miner has become 1/4th (20 from 80) - this is rough calculation when converted to dollar which is not a very good way to calculate as price of zcash has tumbled from 400+ to 130+.

Do we have a chart of zcash coins ( on an average ) mined per day at 50 ksols/s ( i.e per miner) vs difficulty since July release.




Got two links where one says 0.532 zcash per day in July.
https://bitcointalksearch.org/topic/m.41862029
.41 zcash per day in August
https://bitcointalksearch.org/topic/m.43300417

Can someone post their complete day to day earnings from past 3 months of a single miner.
Do we have a inno chart or predictor tool or so to fetch historical earnings. Need it for a debate.

Something like this that you are looking for ?
profitability calc vs BTC:
https://www.coinwarz.com/cryptocurrency
difficulty:
https://www.coinwarz.com/difficulty-charts/zcash-difficulty-chart
network hashrate:
https://www.coinwarz.com/network-hashrate-charts/zcash-network-hashrate-chart
MZ4
member
Activity: 118
Merit: 86
What is needed to Overclock the A9?
What software is loaded? Cgminer?

I think it's cgminer!
because...
/config/cgminer.conf

SSH
user: root
password: blacksheepwall

/var/www/webif/api/

and a lot of knowhow !

PLEASE do share if you find any solution !!!

Thanks for the reply. Has anyone tried it and failed? From all the previous 49 pages , I think none tried to OC. Right?
newbie
Activity: 20
Merit: 0
Can someone point out the profitability vs hashrate chart / graph for A9 Zmaster 50ksol/s Equihash miner at 620W since its release.

Profitability chart: https://www.asicminervalue.com/miners/innosilicon/a9-zmaster
Hashrate/diff chart: https://www.difficultychart.com (loads slowly)

Thanks for that. Got one more.
https://www.coinwarz.com/difficulty-charts/zcash-difficulty-chart

To summarize, from July ( release) difficulty has quadrupled (40 from 10) and profitability of this miner has become 1/4th (20 from 80) - this is rough calculation when converted to dollar which is not a very good way to calculate as price of zcash has tumbled from 400+ to 130+.

Do we have a chart of zcash coins ( on an average ) mined per day at 50 ksols/s ( i.e per miner) vs difficulty since July release.




Got two links where one says 0.532 zcash per day in July.
https://bitcointalksearch.org/topic/m.41862029
.41 zcash per day in August
https://bitcointalksearch.org/topic/m.43300417

Can someone post their complete day to day earnings from past 3 months of a single miner.
Do we have a inno chart or predictor tool or so to fetch historical earnings. Need it for a debate.
jr. member
Activity: 98
Merit: 4
What is needed to Overclock the A9?
What software is loaded? Cgminer?

I think it's cgminer!
because...
/config/cgminer.conf

SSH
user: root
password: blacksheepwall

/var/www/webif/api/

and a lot of knowhow !

PLEASE do share if you find any solution !!!
MZ4
member
Activity: 118
Merit: 86
What is needed to Overclock the A9?
What software is loaded? Cgminer?
jr. member
Activity: 98
Merit: 4
Hi
I switched to Prohashing.

Is it better than f2pool, flypool, zhashPro or other pools ?

I don't want any dollars or money, I just want to mine and hold Zcash. Which pool is the best ?

Thanks

Hi,
Since I'm converting to BTC and LTC it's better for me because speed in conversion.
I've been getting my earnings closest to Whattomine.com compared to flypool, nanopool and MPH.
Thats my experince!!

And my friends are also satisfied.

Especially those with A9 ZMaster's because after about 36-40 hours their A9 only use about 44-45% without restart.
And they can also get really high speeds with 2hr avarage upto 60 kSol/s according to prohashing.com

I've asked for you people here to share your best experiences and best solutions.
And to verify my experiences if possible!

I really hope someone else will share their best experiencies and solutions.




So You say I give the prohashing pool BTC address and hold it ?

Not sure what you mean by that?

If you mine Equihash algorithm you ca still choose to get everything in BTC and get it paid out to your BTC adress.

Under "settings" you can set "Payout adresses" for coins you choose and you set minimum payout's for each coin, Setting  enough minimum payout for each coin there will be NO payout fee for that coin (Like for BTC minimum payout set at 0.01 = no payout fee) and you set  "Payout proportions" for those coins you've choosen. You can have everything into one coin or divide between them like you choose.

If you choose to mine a single coin and no conversion to other coins you will get lower fee and be part of more rewards for that coin, as I understand it!

Yea I know.
I mean I want to payout just in Zcash. Is it better than other pools ? Becasue peoples mine for example equihash and get btc for a fee.
In this case I mine equihash algo and paid in Zcash. Does it more profitable ? Or at least closest to the online calculators ?

For my friends that get payout's in Zcash, they think so.
We haven't tried EVERY pool because there need to be at least a few other on that pool mining same algorithm/coin and not to high latency when we ping pooladress to check connection.

BUT...
where you live
what quality internet connection to the mining pool server you have
how many other are mining on that pool

and so on...

all play a part, I guess.

Thats why I would like other peoples best experiences and solutions to see if there are even better alternatives!!!!!


jr. member
Activity: 98
Merit: 4
Hi
I switched to Prohashing.

Is it better than f2pool, flypool, zhashPro or other pools ?

I don't want any dollars or money, I just want to mine and hold Zcash. Which pool is the best ?

Thanks

Hi,
Since I'm converting to BTC and LTC it's better for me because speed in conversion.
I've been getting my earnings closest to Whattomine.com compared to flypool, nanopool and MPH.
Thats my experince!!

And my friends are also satisfied.

Especially those with A9 ZMaster's because after about 36-40 hours their A9 only use about 44-45% without restart.
And they can also get really high speeds with 2hr avarage upto 60 kSol/s according to prohashing.com

I've asked for you people here to share your best experiences and best solutions.
And to verify my experiences if possible!

I really hope someone else will share their best experiencies and solutions.




So You say I give the prohashing pool BTC address and hold it ?

Not sure what you mean by that?

If you mine Equihash algorithm you ca still choose to get everything in BTC and get it paid out to your BTC adress.

Under "settings" you can set "Payout adresses" for coins you choose and you set minimum payout's for each coin, Setting  enough minimum payout for each coin there will be NO payout fee for that coin (Like for BTC minimum payout set at 0.00228275 ($15.00) = no payout fee) and you set  "Payout proportions" for those coins you've choosen. You can have everything into one coin or divide between them like you choose.

If you choose to mine a single coin and no conversion to other coins you will get lower fee and be part of more rewards for that coin, as I understand it!
jr. member
Activity: 98
Merit: 4
Hi
I switched to Prohashing.

Is it better than f2pool, flypool, zhashPro or other pools ?

I don't want any dollars or money, I just want to mine and hold Zcash. Which pool is the best ?

Thanks

Hi,
Since I'm converting to BTC and LTC it's better for me because speed in conversion.
I've been getting my earnings closest to Whattomine.com compared to flypool, nanopool and MPH.
Thats my experince!!

And my friends are also satisfied.

Especially those with A9 ZMaster's because after about 36-40 hours their A9 only use about 44-45% without restart.
And they can also get really high speeds with 2hr avarage upto 60 kSol/s according to prohashing.com

I've asked for you people here to share your best experiences and best solutions.
And to verify my experiences if possible!

I really hope someone else will share their best experiencies and solutions.
newbie
Activity: 20
Merit: 0
Can someone point out the profitability vs hashrate chart / graph for A9 Zmaster 50ksol/s Equihash miner at 620W since its release.

Profitability chart: https://www.asicminervalue.com/miners/innosilicon/a9-zmaster
Hashrate/diff chart: https://www.difficultychart.com (loads slowly)

Thanks for that. Got one more.
https://www.coinwarz.com/difficulty-charts/zcash-difficulty-chart

To summarize, from July ( release) difficulty has quadrupled (40 from 10) and profitability of this miner has become 1/4th (20 from 80) - this is rough calculation when converted to dollar which is not a very good way to calculate as price of zcash has tumbled from 400+ to 130+.

Do we have a chart of zcash coins ( on an average ) mined per day at 50 ksols/s ( i.e per miner) vs difficulty since July release.

Pages:
Jump to: