Author

Topic: [Awesome Miner] - Powerful Windows GUI to manage and monitor up to 200000 miners - page 415. (Read 703512 times)

newbie
Activity: 25
Merit: 0
Hi all
Am i missing something in AM
I am dual mining XVG BLake2s but i can't define that coin anywhere...
I only get Unspecified blake2s, and it does not calculate profit....

In coins i have 3 Verge, but not Blake2s one Smiley

Thanks
newbie
Activity: 74
Merit: 0
I'm having an issue with whattomine JSONs. I've added one under the statics section. I then go to setup my pool and typically it would just show up under the "coin" setting when adding a pool to give me the proper dropdown, but its not. Any idea why it wouldn't update the list?

Also, is it possible to take all the JSONs from whattomine so I don't have to keep adding them?

Only way I have gotten this to work and show up is.

1) Add coin inside statistics first
2) Add user defined coin under Coins & Profit
3) It then shows up with two coins in the list, 1 that actually calculates and one that doesn't do anything. I then remove the User Defined Coin and the useful calculating coin remains.


Am I doing something wrong...adding and removing seems unnecessary.
newbie
Activity: 32
Merit: 0
Guys, i can't make awsome miner work with the latest version of Excavator, i keep getting "failed to open command file -p"

And i can't make it work with the API even by setting the api port manually
newbie
Activity: 126
Merit: 0
I completely agree, I really like this software but certain things just make it practically unusable compared to other software.  For example, and I've said this before, at the current time anyway, having a rig with all the same cards is a dream.  You grab whatever card you can find.  So it really should be able to group like cards together without me or anyone else having to go and manually edit things.  I know this is possible as I'm using a forked version of Multipool miner that is doing exactly this.  Further as mentioned it should run all the software for an algo rithm and pick the highest one and be able to knock it out if it fails and go to another one.

Finally and the most ridiculous thing is the adding of new pools.  I'm currently running zergpool and blaze pool on multipool miner along with the rest of the pools that are available in awesome miner.  It took about 10 minutes to edit an existing pool file to have it run the new pools.  Further, it just pulls from the API which algorithms are available.  At the very least, we should be able to specify the server and maybe some ports not go in and try to add a server and btc address for every algorithm.  I"m not honestly sure if it would even work.

Cool that it supports the latest excavator, but this really brings out a huge weak point in this software - the benchmarking and software selection system is the worst and requires so much manual labor to do something that can be easily handled via software.

It would be great if there was a way to automate selecting which mining software is enabled or disabled per profit profile depending on benchmarks. Right now it benchmarks exactly one mining software per algo, based on which I've alreeady selected. This is backwards, because I don't know which mining software I want enabled until I benchmark it. The right answer is always whichever software puts out the best number.

Instead of making me click through a million menus to test equihash with dstm, ewbf, ccminer, excavator and everything else - the software should just test everything and pick the best. And preferably remember the results per software, so when a new version of the software is released, it only needs to test the new software.

Example workflow:

I enable ewbf, ccminer, claymore, excavator for 1080 Ti profile.

Results:

Equihash ewbf : 11mh
Equihash ccminer: 12mh
Equihash excavator: 13mh
Ethereum ccminer: 25mh
Ethereum claymore: 32mh
Ethereum excavator: 31mh

1080 Ti profile automatically set to use excavator for Equihash, claymore for Ethereum.

Then new ccminer comes out. Benchmark tests only ccminer:

Equihash ccminer: 14mh
Ethereum ccminer: 30mh

Now profile set for ccminer for Equihash, but still claymore for Ethereum.


newbie
Activity: 44
Merit: 0





Hello Spinter... a couple of questions...

On this line you have it hardcoded to the URL for the coinmarketcaps ALQO API.

Uri uri = new Uri(@"https://api.coinmarketcap.com/v1/ticker/alqo/");

Shouldn't this be using the Str2 like this:

Uri uri = new Uri(@Str2);


Also, I tried to duplicate your code for Bulwark, but I never get any returns.  Is there something wrong with this below?




that's right




Sorry error

Uri uri = new Uri(@"https://api.coinmarketcap.com/v1/ticker/alqo/");   to   Uri uri = new Uri(@Str2);

and

string Str2 = "https://api.coinmarketcap.com/v1/ticker/alqo/";











Code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
//Request library
using System.Net;
using System.IO;


public class ActionScript
{
private ContextProvider Context = ScriptManager.Context;
public bool Execute(List list)
{

try
{
 



//--------------------------------------------------
string Str_name = "ALQO";//Name Coin
double Str_Reward = 150; //Reward Coin
string Str1 = this.getdati("https://explorer.alqo.org/api/difficulty");//link difficulty
string Str2 = "https://api.coinmarketcap.com/v1/ticker/alqo/";//link coinmarketcap.com
//--------------------------------------------------


//MessageBox.Show(Str1);

Str1 = Str1.Replace(".", ",");
double dif = Convert.ToDouble(Str1);

Uri uri = new Uri(@Str2);
WebRequest webRequest = WebRequest.Create(uri);
WebResponse response = webRequest.GetResponse();
StreamReader streamReader = new StreamReader(response.GetResponseStream());
String responseData = streamReader.ReadToEnd();





string myString = responseData;
string[] subStrings = myString.Split(',');
string v = "";
foreach (string str in subStrings)
{
 if (str.Contains("price_btc") == true)
            {    
             v = str.Replace(@"""", "");
             v = v.Replace("price_btc", "");
             v = v.Replace(" ", "");
             v = v.Replace(":", "");
             v = v.Replace(".", ",");
            }
 }



double Price = Convert.ToDouble(v);
Context.CoinStat.SetProperties(Str_name, dif, Str_Reward, Price);
 
 
//----------------Exception------------------
 }
catch(Exception exception)
{
  
}
//--------------End--Exception----------------
return true;
}

//--------------------------------------------
protected string getdati(string url)
        {
            try
            {
                string rt;

                WebRequest request = WebRequest.Create(url);

                WebResponse response = request.GetResponse();

                Stream dataStream = response.GetResponseStream();

                StreamReader reader = new StreamReader(dataStream);

                rt = reader.ReadToEnd();

                Console.WriteLine(rt);

                reader.Close();
                response.Close();

                return rt;
            }

            catch(Exception ex)
            {
                return "Error: " + ex.Message;
            }
        }      
}//end













For Bulwark and all Coins to  http://whattomine.com/calculators
 Add to Coin & profit /statistics  

  
Additionals Json URL's

Add this line

http://whattomine.com/coins/224.json
newbie
Activity: 45
Merit: 0
Cool that it supports the latest excavator, but this really brings out a huge weak point in this software - the benchmarking and software selection system is the worst and requires so much manual labor to do something that can be easily handled via software.

It would be great if there was a way to automate selecting which mining software is enabled or disabled per profit profile depending on benchmarks. Right now it benchmarks exactly one mining software per algo, based on which I've alreeady selected. This is backwards, because I don't know which mining software I want enabled until I benchmark it. The right answer is always whichever software puts out the best number.

Instead of making me click through a million menus to test equihash with dstm, ewbf, ccminer, excavator and everything else - the software should just test everything and pick the best. And preferably remember the results per software, so when a new version of the software is released, it only needs to test the new software.

Example workflow:

I enable ewbf, ccminer, claymore, excavator for 1080 Ti profile.

Results:

Equihash ewbf : 11mh
Equihash ccminer: 12mh
Equihash excavator: 13mh
Ethereum ccminer: 25mh
Ethereum claymore: 32mh
Ethereum excavator: 31mh

1080 Ti profile automatically set to use excavator for Equihash, claymore for Ethereum.

Then new ccminer comes out. Benchmark tests only ccminer:

Equihash ccminer: 14mh
Ethereum ccminer: 30mh

Now profile set for ccminer for Equihash, but still claymore for Ethereum.




You are right , I also did this to find the fastest miner for an algo, by moving up or down in the list the miner and benchmarking again.

Now that excavator was introduced, I benchmarked excavator on all agos that are enabled on excavator and I noticed that excavator is faster on 5 algos than all the other miners. I enabled only that 5 algos for excavator and and disabled all the other algos from excavator with less hashrate.

The advantage is that I know that any time in the future, when I would benchmark I will always have these 5 algos faster for excavator and it is not necessary to benchmark with the same algo all the other  miners again like NiceHash does. You might notice that Nicehash Benchmarking is 10 times slower (takes a lot to benchmark rigs with 8 or 16 GPUS copared to AM ). So, the suggestion you have will increase a lot the benchmarking time (that is really not optimized right now, because it should have a different execution time for different algos).

I do not think that I have to wait every time 5 times more time to know each time that the order is the same and only the best hashrate is saved, but indeed I really think it would be useful to have an option like "Test all miners and pick the fastest miner for each algo", right ?

Now, the question remains what do we do when we benchmark today and we have  the values saved and when we benchmark again 2 weeks later the values are different. The values also lead to wrong algos ordering because new hashrates changed the ordering, making some algos more profitable.

What do you think ?
 

That seems simple enough to solve with timestamping the results and setting an expiration date on them.

The reason I bought awesomeminer was to make my life easier. In practice it requires a lot of work, to the point where I'm not sure I'm actually saving any time or money. Seems like a lot of dev time is spent on configurability and not enough on automation. Software is nothing more than a rote procedure, and whenever I have to manually step in to do a rote procedure myself, then that software is failing IMO.

Like for another example of where I need to spend hours manually clicking when it should be automated - even if they were to implement my suggestion, I still need to manually stop a miner with a profile, launch benchmarking, wait 15+ minutes (!!!) while it benchmarks, save the new settings, then start that miner again, then do it all over again for every profile. I have Titan XP, 1080 Ti, 1080, 1070, 1060 and RX580 profiles. This whole process takes hours, it's ridiculous.

What situation exists where someone would want to benchmark one profile and not the others? What situation would there be where anyone would want to do literally anything but test everything that untested, and then enable it if theres an improvement?

Combined with my previous suggestion, I feel like all I should really have to do here is press an optimize button, and it'll automatically stop a miner with each profile, benchmark the software/algos, pick the best results, and automatically move on to the next. Why does this require any user interaction at all? Nevermind the fact that it needs to stop an entire 6 GPU rig to test just one of the GPUs. Or that I can't benchmark multiple rigs at once or do any administration while benchmarking, because the benchmark locks up the entire UI.

Overall I only have one overarching suggestion - shift gears for a bit from adding new features and complexity to improving usability and automation. It's great that I was able to integrate the new excavator, I'm making a few extra bucks now. It's not great that I had to spend several hours testing it, keeping a manual log of results, and then fiddling with a thousand menus to integrate it optimally. This is all stuff good software can and should handle on its own.  
newbie
Activity: 140
Merit: 0
is it only me who has problem with latest version not switching algos? Right now i checked and it was mining same algo for 6 hours, i closed Awesome miner (exit) and run again - it switched algo in 30 sec. I know that it will not switch algos IF you double-click on AM icon in taskbat in right corner and if it will open one more new AM window (yes, you will have 2 windows of AM) and not just reopening one like usually, it means it is broken and i have to exit from AM and run again.


I also have the same problem, it was not changing sometimes for 4 hours, sometimes for 8 hours but the performance changed  during this period of time. I think there is a bug related to this for sure.
jr. member
Activity: 212
Merit: 6
is it only me who has problem with latest version not switching algos? Right now i checked and it was mining same algo for 6 hours, i closed Awesome miner (exit) and run again - it switched algo in 30 sec. I know that it will not switch algos IF you double-click on AM icon in taskbat in right corner and if it will open one more new AM window (yes, you will have 2 windows of AM) and not just reopening one like usually, it means it is broken and i have to exit from AM and run again.
newbie
Activity: 140
Merit: 0
Cool that it supports the latest excavator, but this really brings out a huge weak point in this software - the benchmarking and software selection system is the worst and requires so much manual labor to do something that can be easily handled via software.

It would be great if there was a way to automate selecting which mining software is enabled or disabled per profit profile depending on benchmarks. Right now it benchmarks exactly one mining software per algo, based on which I've alreeady selected. This is backwards, because I don't know which mining software I want enabled until I benchmark it. The right answer is always whichever software puts out the best number.

Instead of making me click through a million menus to test equihash with dstm, ewbf, ccminer, excavator and everything else - the software should just test everything and pick the best. And preferably remember the results per software, so when a new version of the software is released, it only needs to test the new software.

Example workflow:

I enable ewbf, ccminer, claymore, excavator for 1080 Ti profile.

Results:

Equihash ewbf : 11mh
Equihash ccminer: 12mh
Equihash excavator: 13mh
Ethereum ccminer: 25mh
Ethereum claymore: 32mh
Ethereum excavator: 31mh

1080 Ti profile automatically set to use excavator for Equihash, claymore for Ethereum.

Then new ccminer comes out. Benchmark tests only ccminer:

Equihash ccminer: 14mh
Ethereum ccminer: 30mh

Now profile set for ccminer for Equihash, but still claymore for Ethereum.




You are right , I also did this to find the fastest miner for an algo, by moving up or down in the list the miner and benchmarking again.

Now that excavator was introduced, I benchmarked excavator on all agos that are enabled on excavator and I noticed that excavator is faster on 5 algos than all the other miners. I enabled only that 5 algos for excavator and and disabled all the other algos from excavator with less hashrate.

The advantage is that I know that any time in the future, when I would benchmark I will always have these 5 algos faster for excavator and it is not necessary to benchmark with the same algo all the other  miners again like NiceHash does. You might notice that Nicehash Benchmarking is 10 times slower (takes a lot to benchmark rigs with 8 or 16 GPUS copared to AM ). So, the suggestion you have will increase a lot the benchmarking time (that is really not optimized right now, because it should have a different execution time for different algos).

I do not think that I have to wait every time 5 times more time to know each time that the order is the same and only the best hashrate is saved, but indeed I really think it would be useful to have an option like "Test all miners and pick the fastest miner for each algo", right ?

Now, the question remains what do we do when we benchmark today and we have  the values saved and when we benchmark again 2 weeks later the values are different. The values also lead to wrong algos ordering because new hashrates changed the ordering, making some algos more profitable.

What do you think ?

 
newbie
Activity: 21
Merit: 0
Cool that it supports the latest excavator, but this really brings out a huge weak point in this software - the benchmarking and software selection system is the worst and requires so much manual labor to do something that can be easily handled via software.

It would be great if there was a way to automate selecting which mining software is enabled or disabled per profit profile depending on benchmarks. Right now it benchmarks exactly one mining software per algo, based on which I've alreeady selected. This is backwards, because I don't know which mining software I want enabled until I benchmark it. The right answer is always whichever software puts out the best number.

Instead of making me click through a million menus to test equihash with dstm, ewbf, ccminer, excavator and everything else - the software should just test everything and pick the best. And preferably remember the results per software, so when a new version of the software is released, it only needs to test the new software.

Example workflow:

I enable ewbf, ccminer, claymore, excavator for 1080 Ti profile.

Results:

Equihash ewbf : 11mh
Equihash ccminer: 12mh
Equihash excavator: 13mh
Ethereum ccminer: 25mh
Ethereum claymore: 32mh
Ethereum excavator: 31mh

1080 Ti profile automatically set to use excavator for Equihash, claymore for Ethereum.

Then new ccminer comes out. Benchmark tests only ccminer:

Equihash ccminer: 14mh
Ethereum ccminer: 30mh

Now profile set for ccminer for Equihash, but still claymore for Ethereum.



This is a great suggestion!
newbie
Activity: 140
Merit: 0
AM good service but it will be more better  Grin.
Today is more new coin which isn't in coinwars or whattomine. I add new coin manually, but there is only static diff which I need change manually too.
All coins have API with dynamic diff changes. It is possible get dynamic diff via this
https://explorer.alqo.org/api/difficulty

Please add this features to coin properties.

I second this. When we add custom coins it would be nice to give it this and have AM just pull the data.

Also, if this is added it would be nice if we had an averaging function where it used the average difficulty over X blocks where X was picked by the user.
I wrote a program to do this automatically for me.. it pulls all the coin data then updates the coin data in AM every few minutes. It's a lot harder for a program to dynamically pull that info than you might think.

Does Patrike know how to implement this functionality to be used in Awesome Miner ?
I already developed an Awesome Miner API endpoint that soothaa uses from an external application to set coin profitability. So there is no lack of understanding here.

Having a generic feature in Awesome Miner that pulls API information from any source may sound easy, but please consider the endless number of data formats the various API's out there uses. This is similar to the challenge for the Wallet Balance feature in Awesome Miner. Awesome Miner supports a few common block explorers, but they all have different data formats. Awesome Miner is already trying to be smart looking at the content of the API responses, but it's simply not possible to support all of them. This is why the other way around - providing an Awesome Miner API to be used by external scripts - gives much more flexibility for those that really want to get into customization.

The same Block Explorer feature used to get wallet balance could possibly be used to get other data (like difficulty) from the block explorers as well - but it will still not be possible to support any data source. Maybe a future improvement for Awesome Miner, but not as flexible as the existing Awesome Miner API endpoint for setting profitability.


Patrike, does AM adjusts hash-rates by dynamically reading network difficulty ?  ( https://explorer.alqo.org/api/difficulty )

If not, it means that the benchmarked values are always outdated if network difficulty changes and AM's benchmarked values was using difficulty from 1 week or a few months ago ?

I noticed that for some algos, when benchmarking again after one week I have totally different rates from the ones I had last week, without changing the configuration or settings of the GPUs from the benchmarked rig.

What is your solution for this problem, Patrike ?  
newbie
Activity: 45
Merit: 0
Cool that it supports the latest excavator, but this really brings out a huge weak point in this software - the benchmarking and software selection system is the worst and requires so much manual labor to do something that can be easily handled via software.

It would be great if there was a way to automate selecting which mining software is enabled or disabled per profit profile depending on benchmarks. Right now it benchmarks exactly one mining software per algo, based on which I've alreeady selected. This is backwards, because I don't know which mining software I want enabled until I benchmark it. The right answer is always whichever software puts out the best number.

Instead of making me click through a million menus to test equihash with dstm, ewbf, ccminer, excavator and everything else - the software should just test everything and pick the best. And preferably remember the results per software, so when a new version of the software is released, it only needs to test the new software.

Example workflow:

I enable ewbf, ccminer, claymore, excavator for 1080 Ti profile.

Results:

Equihash ewbf : 11mh
Equihash ccminer: 12mh
Equihash excavator: 13mh
Ethereum ccminer: 25mh
Ethereum claymore: 32mh
Ethereum excavator: 31mh

1080 Ti profile automatically set to use excavator for Equihash, claymore for Ethereum.

Then new ccminer comes out. Benchmark tests only ccminer:

Equihash ccminer: 14mh
Ethereum ccminer: 30mh

Now profile set for ccminer for Equihash, but still claymore for Ethereum.

newbie
Activity: 126
Merit: 0
Would it be possible to add support for Zergpool and Blazepool?

And to add to this, if I want to add these manually, what is the simplest way to do it?  It looks like I have to go in and specify the server and wallet address for each algorithm?  Just want to make sure I"m not reinventing the wheel here.  It seems it should be as simple as specifying the server mask and then adding the ports.
jr. member
Activity: 230
Merit: 1
newbie
Activity: 4
Merit: 0
Awesome Miner version 4.4.3

- Improved compatibility for the Excavator mining software
- Improved support for running the PhoenixMiner software as user defined Managed Software using API compatibility with Claymore Ethereum miner
- Device profile configuration added for the new dual mining algorithms in Claymore Ethereum miner 11.0
- Correction to the profit switcher for selecting dual mining pools correctly


Can't benchmark any dual algorithms. I'm getting "No pools specified" every time. Benchmarking single Ethereum works.

EDIT: Also Excavator does some weird stuff. It seems to request jobs for every algorithm it supports. Part of the log:

Code:
[16:39:36][0x00002760][warning] net | Invalid job provided by the stratum server
[16:39:36][0x00002760][info] net | Connection lost! Reconnecting in 9 seconds
[16:39:36][0x000028c4][info] net | Connection lost! Reconnecting in 9 seconds
[16:39:37][0x00002760][info] net | Share #126 accepted
[16:39:39][0x000028c4][info] core | Device #0-0 speed: 1.267302 MH/s
[16:39:39][0x000028c4][info] core | Algorithm 'neoscrypt' total speed: 1.267302 MH/s
[16:39:39][0x000028c4][info] core | Algorithm 'neoscrypt' total speed: 0.000000 H/s
[16:39:39][0x000028c4][info] core | Algorithm 'neoscrypt' total speed: 0.000000 H/s
[16:39:39][0x000028c4][info] core | Algorithm 'keccak' total speed: 0.000000 H/s
[16:39:39][0x000028c4][info] core | Algorithm 'keccak' total speed: 0.000000 H/s
[16:39:39][0x000028c4][info] core | Algorithm 'keccak' total speed: 0.000000 H/s
[16:39:39][0x000028c4][info] core | Algorithm 'pascal' total speed: 0.000000 H/s
[16:39:39][0x000028c4][info] core | Algorithm 'sia' total speed: 0.000000 H/s
[16:39:39][0x000028c4][info] core | Algorithm 'sia' total speed: 0.000000 H/s
[16:39:40][0x000028c4][info] algo-neoscrypt | New job_0 '76f5', diff=0.00247192
[16:39:40][0x000028c4][info] algo-pascal | New job_0 '0000002963db40c6', diff=2
[16:39:42][0x000028c4][info] algo-keccak | New job_0 '18d', diff=16
[16:39:43][0x000028c4][info] algo-keccak | New job_0 '73e3', diff=2
[16:39:43][0x00002760][info] net | Share #127 accepted
[16:39:45][0x000028c4][info] net | Connecting to 34.196.248.45:17022 (34.196.248.45)
[16:39:45][0x000028c4][info] net | Connected!
[16:39:45][0x000028c4][info] algo-neoscrypt | New job_0 'de5', diff=0.03125

Even with the new version it won't run. But I guess I messed up the settings. What do I add in the command line?
And more important is it worth it at all? My current benchmark seems to indicate that the added dual mined coins give in sum less profit compared to solo mining..
sr. member
Activity: 434
Merit: 251
I'm still struggling being able to switch coins / pools fast on my baikals.

Using my managed miners it is so easy to switch. I can add a new miner, new pool, new coin to all my GPU rigs in less than 5 minutes.

This is not the case with my baikals and i'm not sure if it just can't be done, or if i'm just missing how to do it easily using awesome miner.

Have you tried setting up a pool group and using that as an override on the profit profile?  The pool group will probably have to be setup as non fail over.

Also, have you just tried to setup all the pools in the WebUI and then doing a backup and restore to the other Baikals?

Yes, so I have to add each pool in the webUI and then I can switch. This just takes a long time.

I just thought of using the baikal monitor and I might be able to do it using that.
sr. member
Activity: 700
Merit: 294
I'm still struggling being able to switch coins / pools fast on my baikals.

Using my managed miners it is so easy to switch. I can add a new miner, new pool, new coin to all my GPU rigs in less than 5 minutes.

This is not the case with my baikals and i'm not sure if it just can't be done, or if i'm just missing how to do it easily using awesome miner.

Have you tried setting up a pool group and using that as an override on the profit profile?  The pool group will probably have to be setup as non fail over.

Also, have you just tried to setup all the pools in the WebUI and then doing a backup and restore to the other Baikals?
sr. member
Activity: 700
Merit: 294
Code:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
//Request library
using System.Net;
using System.IO;

public class ActionScript
{
private ContextProvider Context = ScriptManager.Context;
public bool Execute(List list)
{
try
{
 



//--------------------Change----------------------
string Str_name = "ALQO";//Name Coin sample   = "ALQO"
double Str_Reward = 150; //Reward Coin sample = 10
string Str1 = this.getdati("https://explorer.alqo.org/api/difficulty");//link difficulty
string Str2 = this.getdati("https://api.coinmarketcap.com/v1/ticker/alqo/");//link coinmarketcap.com
//--------------------------------------------------









Str1 = Str1.Replace(".", ",");
double dif = Convert.ToDouble(Str1);

Uri uri = new Uri(@"https://api.coinmarketcap.com/v1/ticker/alqo/");
WebRequest webRequest = WebRequest.Create(uri);
WebResponse response = webRequest.GetResponse();
StreamReader streamReader = new StreamReader(response.GetResponseStream());
String responseData = streamReader.ReadToEnd();


 


string myString = responseData;
string[] subStrings = myString.Split(',');
string v = "";
foreach (string str in subStrings)
{
 if (str.Contains("price_btc") == true)
            {   
             v = str.Replace(@"""", "");
             v = v.Replace("price_btc", "");
             v = v.Replace(" ", "");
             v = v.Replace(":", "");
             v = v.Replace(".", ",");
            }
 }

double Price = Convert.ToDouble(v);



//MessageBox.Show(Str1);

Context.CoinStat.SetProperties(Str_name, dif, Str_Reward, Price);
 
 
//----------------Exception------------------
 }
catch(Exception exception)
{
   
}
//--------------End--Exception----------------
return true;
}

//--------------------------------------------
protected string getdati(string url)
        {
            try
            {
                string rt;

                WebRequest request = WebRequest.Create(url);

                WebResponse response = request.GetResponse();

                Stream dataStream = response.GetResponseStream();

                StreamReader reader = new StreamReader(dataStream);

                rt = reader.ReadToEnd();

                Console.WriteLine(rt);

                reader.Close();
                response.Close();

                return rt;
            }

            catch(Exception ex)
            {
                return "Error: " + ex.Message;
            }
        }       
}//end







Hello Spinter... a couple of questions...

On this line you have it hardcoded to the URL for the coinmarketcaps ALQO API.

Uri uri = new Uri(@"https://api.coinmarketcap.com/v1/ticker/alqo/");

Shouldn't this be using the Str2 like this:

Uri uri = new Uri(@Str2);


Also, I tried to duplicate your code for Bulwark, but I never get any returns.  Is there something wrong with this below?

Code:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
//Request library
using System.Net;
using System.IO;

public class ActionScript
{
private ContextProvider Context = ScriptManager.Context;
public bool Execute(List list)
{
try
{
 



//--------------------Change----------------------
string Str_name = "Bulwark";//Name Coin sample   = "ALQO"
double Str_Reward = 33; //Reward Coin sample = 10
string Str1 = this.getdati("http://explorer.bulwarkcrypto.com/api/getdifficulty");//link difficulty
string Str2 = this.getdati("https://api.coinmarketcap.com/v1/ticker/bulwark/");//link coinmarketcap.com
//--------------------------------------------------









Str1 = Str1.Replace(".", ",");
double dif = Convert.ToDouble(Str1);

Uri uri = new Uri(@Str2);
WebRequest webRequest = WebRequest.Create(uri);
WebResponse response = webRequest.GetResponse();
StreamReader streamReader = new StreamReader(response.GetResponseStream());
String responseData = streamReader.ReadToEnd();


 


string myString = responseData;
string[] subStrings = myString.Split(',');
string v = "";
foreach (string str in subStrings)
{
 if (str.Contains("price_btc") == true)
            {   
             v = str.Replace(@"""", "");
             v = v.Replace("price_btc", "");
             v = v.Replace(" ", "");
             v = v.Replace(":", "");
             v = v.Replace(".", ",");
            }
 }

double Price = Convert.ToDouble(v);



//MessageBox.Show(Str1);

Context.CoinStat.SetProperties(Str_name, dif, Str_Reward, Price);
 
 
//----------------Exception------------------
 }
catch(Exception exception)
{
   
}
//--------------End--Exception----------------
return true;
}

//--------------------------------------------
protected string getdati(string url)
        {
            try
            {
                string rt;

                WebRequest request = WebRequest.Create(url);

                WebResponse response = request.GetResponse();

                Stream dataStream = response.GetResponseStream();

                StreamReader reader = new StreamReader(dataStream);

                rt = reader.ReadToEnd();

                Console.WriteLine(rt);

                reader.Close();
                response.Close();

                return rt;
            }

            catch(Exception ex)
            {
                return "Error: " + ex.Message;
            }
        }       
}//end
sr. member
Activity: 434
Merit: 251
Looking for some input

I have multiple Baikals and I'm wanting to update the pool and The only way I have been able to do it so the algo switches as well is to have the pool and algo setup in the miner using the webUI.

Is there a faster way of doing it? This will be very time consuming with 30+ machines.


I thought about using MRR and have it setup in the miners for each algo.

then create a coin in AM "MRR-QUARK"

then when I want to mine a specific pool I would make "MRR-QUARK" the most profitable and then go to MRR and change it to the pool I want.

I'm still struggling being able to switch coins / pools fast on my baikals.

Using my managed miners it is so easy to switch. I can add a new miner, new pool, new coin to all my GPU rigs in less than 5 minutes.

This is not the case with my baikals and i'm not sure if it just can't be done, or if i'm just missing how to do it easily using awesome miner.
Jump to: