Bitcoin Forum
April 18, 2019, 07:34:47 PM *
News: Latest Bitcoin Core release: 0.17.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 [466] 467 468 469 470 471 472 473 474 475 476 »
  Print  
Author Topic: [Awesome Miner] - Powerful Windows GUI to manage and monitor up to 200000 miners  (Read 618002 times)
Stryfe
Member
**
Online Online

Activity: 224
Merit: 33

Mopar Mining, LLC


View Profile WWW
March 26, 2019, 12:32:09 PM
 #9301

also how do i specify different power consumption rates for different miners - when i change it for one asic it changes it for all my asics and they do not all have the same power consumption

Happily mining at https://www.kano.is
Mopar Mining, LLC - small Bitcoin and altcoin farm - working on expanding!
Bitcoin donation address:   1LD6V8VNXfCTNzRyV6bj2vBhNg6VLTA2Ps
1555616087
Hero Member
*
Offline Offline

Posts: 1555616087

View Profile Personal Message (Offline)

Ignore
1555616087
Reply with quote  #2

1555616087
Report to moderator
1555616087
Hero Member
*
Offline Offline

Posts: 1555616087

View Profile Personal Message (Offline)

Ignore
1555616087
Reply with quote  #2

1555616087
Report to moderator
1555616087
Hero Member
*
Offline Offline

Posts: 1555616087

View Profile Personal Message (Offline)

Ignore
1555616087
Reply with quote  #2

1555616087
Report to moderator
Is your Paper Seed Safe
from FIRE and FLOOD ?
Stainless Steel Metal Wallet
Nickel Bolts, Metal Box + FREE Passphrase Hex Backup
Free EU shipping!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1555616087
Hero Member
*
Offline Offline

Posts: 1555616087

View Profile Personal Message (Offline)

Ignore
1555616087
Reply with quote  #2

1555616087
Report to moderator
sxemini
Jr. Member
*
Offline Offline

Activity: 197
Merit: 2


View Profile
March 26, 2019, 12:42:08 PM
 #9302

also how do i specify different power consumption rates for different miners - when i change it for one asic it changes it for all my asics and they do not all have the same power consumption

You must create different profit profiles.
patrike
Legendary
*
Offline Offline

Activity: 1512
Merit: 1018


View Profile WWW
March 26, 2019, 01:06:13 PM
 #9303

T15 API log
Thanks for sharing the details. I will include an update for this in the next release.

Awesome Miner - The most powerful Windows software to manage and monitor ASIC, GPU and CPU miners
Centralized management for up to 200,000 miners, notifications, recovery, scripting, APIs, mobile web and profitability switching [Web site]
Join the Awesome Miner Affiliate Program and get a commission when you refer new customers to Awesome Miner
patrike
Legendary
*
Offline Offline

Activity: 1512
Merit: 1018


View Profile WWW
March 26, 2019, 01:06:58 PM
 #9304

PAtrike this like crazy waiting for your update, where we can specify the url of the Explorer and get the direct difficulty. Today I have been mining a coin, which days ago if the difficulty worked well, but today it stops at a predetermined value and the profit is very high. I have mined badly, that coin has been put and then the difficulty with the coin explorer was more than double

I hope you give priority to that new function, because it is sorely needed. Any function that helps obtain such fundamental data well, will be a great improvement. And I think that right now is the most important for AM, from my point of view.
There will be a development release with the new Dynamic Update feature for Coin Properties - it's not that far away now.

You will find the documentation here:
https://support.awesomeminer.com/support/solutions/articles/35000115480-load-coin-properties-from-a-custom-source

For what I read in documentation, there will not be as you indicated above to be able to add an Explorer url or at least the most popular, to read directly the difficulty in real time there. That would be a very important point.

I mention it because you commented it like that before. There is nothing better than reading the difficulty without delay in the explorer of each coin
example

http://explorer.choosebitcash.com/api/getdifficulty

for me there is no better data provider, the vast majority use Inquidus as the default browser. It would be nice to add the difficulty of this source. Because although CC is more accurate than CTM at this point, nothing is more immediate and real than reading the difficulty of the coin explorer. I know that in all you can not do it because of the type of explorer you use, but in 80 or 90% of the coins you can do it.

What changes the most fundamental data is the difficulty, this data to obtain it directly is a very good bonus. I hope everything can be done from the panel and are not options just for the api.
This is fully supported. This is referred to as a "plain value" in the documentation. You can simply enter a URL like the one above and you don't have to enter anything else - and Awesome Miner will load the difficulty based on the response.

Awesome Miner do however not provide any of these URL's for you - you still need to find a data source and then enter the URL in Awesome Miner.

You are correct that the documentation didn't have any specific example for this scenario, so I will add that as well. Please see the updates on the same documentation link. Thanks for your feedback!

GRacias Patrike. If you do not worry, I'm not maimed, I'll set up the explorer's urls. I use intensely AM.

How much more or less do you think that will launch this update?
A development release will be available within the next 1 - 2 hours.

Awesome Miner - The most powerful Windows software to manage and monitor ASIC, GPU and CPU miners
Centralized management for up to 200,000 miners, notifications, recovery, scripting, APIs, mobile web and profitability switching [Web site]
Join the Awesome Miner Affiliate Program and get a commission when you refer new customers to Awesome Miner
Stryfe
Member
**
Online Online

Activity: 224
Merit: 33

Mopar Mining, LLC


View Profile WWW
March 26, 2019, 01:32:58 PM
 #9305

also how do i specify different power consumption rates for different miners - when i change it for one asic it changes it for all my asics and they do not all have the same power consumption

You must create different profit profiles.

i have tried - each time leads to me just screwing something up - I am too ignorant in how this works I think.

i also am having so many issues with cloud services due to that the software keeps requiring me to reboot (30 to 40 a day) my miners just to keep them showing up. I had hoped the software would save time of using google remote desktop to view the miners directly -- works perfectly but requires looking at each one separately so time consuming. but I think it might require less time the reboots. the reboots also lead to considerable down time which is a loss of revenue/profit as miner is working but not hashing during reboot (miners are working while AM reports them as offline)

Happily mining at https://www.kano.is
Mopar Mining, LLC - small Bitcoin and altcoin farm - working on expanding!
Bitcoin donation address:   1LD6V8VNXfCTNzRyV6bj2vBhNg6VLTA2Ps
sxemini
Jr. Member
*
Offline Offline

Activity: 197
Merit: 2


View Profile
March 26, 2019, 01:56:27 PM
 #9306

also how do i specify different power consumption rates for different miners - when i change it for one asic it changes it for all my asics and they do not all have the same power consumption

You must create different profit profiles.

i have tried - each time leads to me just screwing something up - I am too ignorant in how this works I think.

i also am having so many issues with cloud services due to that the software keeps requiring me to reboot (30 to 40 a day) my miners just to keep them showing up. I had hoped the software would save time of using google remote desktop to view the miners directly -- works perfectly but requires looking at each one separately so time consuming. but I think it might require less time the reboots. the reboots also lead to considerable down time which is a loss of revenue/profit as miner is working but not hashing during reboot (miners are working while AM reports them as offline)

Then learn more, read the awesomeminer documentation. 30 to 40 reboots lol XD

Awesomeminer save so much time for me, but you have to understand what you are doing there.
patrike
Legendary
*
Offline Offline

Activity: 1512
Merit: 1018


View Profile WWW
March 26, 2019, 02:34:25 PM
 #9307

also how do i specify different power consumption rates for different miners - when i change it for one asic it changes it for all my asics and they do not all have the same power consumption

You must create different profit profiles.

i have tried - each time leads to me just screwing something up - I am too ignorant in how this works I think.

i also am having so many issues with cloud services due to that the software keeps requiring me to reboot (30 to 40 a day) my miners just to keep them showing up. I had hoped the software would save time of using google remote desktop to view the miners directly -- works perfectly but requires looking at each one separately so time consuming. but I think it might require less time the reboots. the reboots also lead to considerable down time which is a loss of revenue/profit as miner is working but not hashing during reboot (miners are working while AM reports them as offline)
1) You can define one more Profit Profile in the Options dialog, Profit Profile section. If you create a profile called "Antminer S9" for example, you can enter your hashrate and power usage in this profile. Later on you can right click on a miner and select Properties, where you can set the Profile Profile to be the newly created "Antminer S9" profile.
You can of course assign many miners to use the same Profit Profile, as long as they have similar hashrate and power usage.

2) For the Antminer issues you have reported earlier, my recommendation is still to use the Diagnostics feature and check out if the issue could be the pool as suggested by the troubleshooting guide:
https://support.awesomeminer.com/support/solutions/articles/35000094734-troubleshooting-antminer-and-asic-miners

I fully understand that it can be annoying run into these problems, but it's always a good idea to confirm the exact issue to begin with. Based on your description so far, it sounds like the Antminer monitoring interface isn't responding after a while, but it would be good to get a confirmation on that.

Awesome Miner - The most powerful Windows software to manage and monitor ASIC, GPU and CPU miners
Centralized management for up to 200,000 miners, notifications, recovery, scripting, APIs, mobile web and profitability switching [Web site]
Join the Awesome Miner Affiliate Program and get a commission when you refer new customers to Awesome Miner
patrike
Legendary
*
Offline Offline

Activity: 1512
Merit: 1018


View Profile WWW
March 26, 2019, 02:45:00 PM
 #9308

Version 6.2.9 (Development preview of 6.3)

 ASIC mining
  - Updates to Antminer T15 support to include temperatures
 Features
  - Define custom data sources for coin properties; Difficulty, Block Reward and Exchange rate. Use expressions to load values from any JSON data source.
  - Reboot button in main toolbar will be available for External Miners as well, performing a reboot over SSH
  - Custom filter expressions configurable per User Group when accessing the local web interface
 User interface
  - Coins with modified properties will be indicated with a blue color for the coin name on the Coins tab, even when running in Compact List mode
  - Updated coin images
 Integration
  - Adjustments to CuckaRoo29s calculations
  - Adjustments to new API for CoinCalculators.io
  - Updated Exp. Factor for ARRR coin
 Mining softare
  - PhoenixMiner 4.2c, including ProgPow support
  - TT-Miner 2.2.0
 Corrections
  - The combinaton of using CoinCalculators.io, non-default exchange rate mode and exchange filtering could result in incorrect exchange rate for BTC.
  - Correction to JCE GPU Miner selection of GPUs to use
  - Correction to Bminer command line for specific combinations of pool algorithms
  - Improved detection of mining software crashes and recovery for the Managed Profit Switcher

To get access to development versions, open the Options dialog in Awesome Miner. In the General section, enable Check for development versions. Then go to the Menu and click Check for updates.

Direct download links if needed:
https://www.awesomeminer.com/download/setupdev/AwesomeMiner.msi
https://www.awesomeminer.com/download/setupdev/AwesomeMinerRemoteService.msi

Awesome Miner - The most powerful Windows software to manage and monitor ASIC, GPU and CPU miners
Centralized management for up to 200,000 miners, notifications, recovery, scripting, APIs, mobile web and profitability switching [Web site]
Join the Awesome Miner Affiliate Program and get a commission when you refer new customers to Awesome Miner
darkneorus
Jr. Member
*
Offline Offline

Activity: 186
Merit: 1


View Profile
March 26, 2019, 04:46:52 PM
Last edit: March 26, 2019, 05:27:01 PM by darkneorus
 #9309

Version 6.2.9 (Development preview of 6.3)

 Mining softare
  - PhoenixMiner 4.2c, including ProgPow support
  - TT-Miner 2.2.0
the auto-generated config for PhoenixMiner+ProgPoW sets wrong protocol type for the pool.

Code:
POOL: stratum+tcp://progpow.mine.zergpool.com:3200, WALLET: wallet, PSW: c=BTC, PROTO: 2, ALLPOOLS: 1
PROTO value should be set to 1 here, also COIN: bci should be added.
Stryfe
Member
**
Online Online

Activity: 224
Merit: 33

Mopar Mining, LLC


View Profile WWW
March 26, 2019, 05:22:47 PM
 #9310




Then learn more, read the awesomeminer documentation. 30 to 40 reboots lol XD

Awesomeminer save so much time for me, but you have to understand what you are doing there.

i have a few times - and the reboots are because AM looses connection to miners - it happened a number of months ago and then stopped after a later update. and has not done it since the last update. but now since the last update - after I changed nothing - it looses connections to miners nearly every 20 to 30 minutes sometimes longer sometimes sooner.

Happily mining at https://www.kano.is
Mopar Mining, LLC - small Bitcoin and altcoin farm - working on expanding!
Bitcoin donation address:   1LD6V8VNXfCTNzRyV6bj2vBhNg6VLTA2Ps
trucobit
Jr. Member
*
Offline Offline

Activity: 420
Merit: 2


View Profile
March 26, 2019, 06:29:49 PM
 #9311

Version 6.2.9 (Development preview of 6.3)

 ASIC mining
  - Updates to Antminer T15 support to include temperatures
 Features
  - Define custom data sources for coin properties; Difficulty, Block Reward and Exchange rate. Use expressions to load values from any JSON data source.
  - Reboot button in main toolbar will be available for External Miners as well, performing a reboot over SSH
  - Custom filter expressions configurable per User Group when accessing the local web interface
 User interface
  - Coins with modified properties will be indicated with a blue color for the coin name on the Coins tab, even when running in Compact List mode
  - Updated coin images
 Integration
  - Adjustments to CuckaRoo29s calculations
  - Adjustments to new API for CoinCalculators.io
  - Updated Exp. Factor for ARRR coin
 Mining softare
  - PhoenixMiner 4.2c, including ProgPow support
  - TT-Miner 2.2.0
 Corrections
  - The combinaton of using CoinCalculators.io, non-default exchange rate mode and exchange filtering could result in incorrect exchange rate for BTC.
  - Correction to JCE GPU Miner selection of GPUs to use
  - Correction to Bminer command line for specific combinations of pool algorithms
  - Improved detection of mining software crashes and recovery for the Managed Profit Switcher

To get access to development versions, open the Options dialog in Awesome Miner. In the General section, enable Check for development versions. Then go to the Menu and click Check for updates.

Direct download links if needed:
https://www.awesomeminer.com/download/setupdev/AwesomeMiner.msi
https://www.awesomeminer.com/download/setupdev/AwesomeMinerRemoteService.msi


Totally awesome. We already have an online document with the URLS and the name Json to extract the difficulties and also of many currencies the price of the exchange.

It's a big change, more complex than I suggested, but more complete. I already have about 20 personalized coins, being able to read the difficulty in real time gives me an advantage without delay.

Thank you very much for attending to the requests of the users.

I have noticed that there is no option to add the URL for nethash, it would be perfect. While you do not have it, you will read it from the provider.
patrike
Legendary
*
Offline Offline

Activity: 1512
Merit: 1018


View Profile WWW
March 27, 2019, 09:17:47 AM
 #9312

Version 6.2.9 (Development preview of 6.3)

 Mining softare
  - PhoenixMiner 4.2c, including ProgPow support
  - TT-Miner 2.2.0
the auto-generated config for PhoenixMiner+ProgPoW sets wrong protocol type for the pool.

Code:
POOL: stratum+tcp://progpow.mine.zergpool.com:3200, WALLET: wallet, PSW: c=BTC, PROTO: 2, ALLPOOLS: 1
PROTO value should be set to 1 here, also COIN: bci should be added.
Thanks for the feedback. I will update Awesome Miner to automatically set these pool properties for Zergpool and ProgPow.

Awesome Miner - The most powerful Windows software to manage and monitor ASIC, GPU and CPU miners
Centralized management for up to 200,000 miners, notifications, recovery, scripting, APIs, mobile web and profitability switching [Web site]
Join the Awesome Miner Affiliate Program and get a commission when you refer new customers to Awesome Miner
patrike
Legendary
*
Offline Offline

Activity: 1512
Merit: 1018


View Profile WWW
March 27, 2019, 09:20:47 AM
 #9313

Version 6.2.9 (Development preview of 6.3)

 ASIC mining
  - Updates to Antminer T15 support to include temperatures
 Features
  - Define custom data sources for coin properties; Difficulty, Block Reward and Exchange rate. Use expressions to load values from any JSON data source.
  - Reboot button in main toolbar will be available for External Miners as well, performing a reboot over SSH
  - Custom filter expressions configurable per User Group when accessing the local web interface
 User interface
  - Coins with modified properties will be indicated with a blue color for the coin name on the Coins tab, even when running in Compact List mode
  - Updated coin images
 Integration
  - Adjustments to CuckaRoo29s calculations
  - Adjustments to new API for CoinCalculators.io
  - Updated Exp. Factor for ARRR coin
 Mining softare
  - PhoenixMiner 4.2c, including ProgPow support
  - TT-Miner 2.2.0
 Corrections
  - The combinaton of using CoinCalculators.io, non-default exchange rate mode and exchange filtering could result in incorrect exchange rate for BTC.
  - Correction to JCE GPU Miner selection of GPUs to use
  - Correction to Bminer command line for specific combinations of pool algorithms
  - Improved detection of mining software crashes and recovery for the Managed Profit Switcher

To get access to development versions, open the Options dialog in Awesome Miner. In the General section, enable Check for development versions. Then go to the Menu and click Check for updates.

Direct download links if needed:
https://www.awesomeminer.com/download/setupdev/AwesomeMiner.msi
https://www.awesomeminer.com/download/setupdev/AwesomeMinerRemoteService.msi


Totally awesome. We already have an online document with the URLS and the name Json to extract the difficulties and also of many currencies the price of the exchange.

It's a big change, more complex than I suggested, but more complete. I already have about 20 personalized coins, being able to read the difficulty in real time gives me an advantage without delay.

Thank you very much for attending to the requests of the users.

I have noticed that there is no option to add the URL for nethash, it would be perfect. While you do not have it, you will read it from the provider.
Thanks for the nice feedback on this new feature.

Nethash has never been configurable for a coin in Awesome Miner because it isn't used for the revenue calculations. It can however be a good insight when mining, especially now when coin properties can be dynamically updated with custom data sources. I understand your point that Nethash also could make sense to support.

Awesome Miner - The most powerful Windows software to manage and monitor ASIC, GPU and CPU miners
Centralized management for up to 200,000 miners, notifications, recovery, scripting, APIs, mobile web and profitability switching [Web site]
Join the Awesome Miner Affiliate Program and get a commission when you refer new customers to Awesome Miner
moppidoo
Jr. Member
*
Online Online

Activity: 329
Merit: 5


View Profile
March 27, 2019, 09:30:18 AM
 #9314

Version 6.2.9 (Development preview of 6.3)

...

Thank you Patrike for the dynamic coin properties update feature, it's simply amazing! Going to test it out for a few days and see if it have significant effect on mining efficiency/luck, will let you know! Wink
zaqwsx
Newbie
*
Offline Offline

Activity: 47
Merit: 0


View Profile
March 27, 2019, 11:23:24 AM
 #9315

Hi Patrike,

I'm trying to write a custom C# Script that sends a "reboot by IP" request. What is the way to get the host IP of a host that has triggered a Rule? Is it included in List<IMinerBase>?

I need to run a Script like this:

Code:
using System.Text;
using System.Net;
using System.Collections.Specialized;

public class ActionScript
{
private ContextProvider Context = ScriptManager.Context;

public bool Execute(List<IMinerBase> list)
{
foreach (var miner in list)
{
String ipToReset = // I need the IP of the miner that has triggered the rule or its host name

using (var wb = new WebClient())
            {
                var response = wb.DownloadString("http://xxx.xxx.xxx.xxx:xxx/?IP=" + ipToReset + "&RESET=");
            }
}
return true;
}
}
trucobit
Jr. Member
*
Offline Offline

Activity: 420
Merit: 2


View Profile
March 27, 2019, 11:24:53 AM
 #9316

Version 6.2.9 (Development preview of 6.3)

 ASIC mining
  - Updates to Antminer T15 support to include temperatures
 Features
  - Define custom data sources for coin properties; Difficulty, Block Reward and Exchange rate. Use expressions to load values from any JSON data source.
  - Reboot button in main toolbar will be available for External Miners as well, performing a reboot over SSH
  - Custom filter expressions configurable per User Group when accessing the local web interface
 User interface
  - Coins with modified properties will be indicated with a blue color for the coin name on the Coins tab, even when running in Compact List mode
  - Updated coin images
 Integration
  - Adjustments to CuckaRoo29s calculations
  - Adjustments to new API for CoinCalculators.io
  - Updated Exp. Factor for ARRR coin
 Mining softare
  - PhoenixMiner 4.2c, including ProgPow support
  - TT-Miner 2.2.0
 Corrections
  - The combinaton of using CoinCalculators.io, non-default exchange rate mode and exchange filtering could result in incorrect exchange rate for BTC.
  - Correction to JCE GPU Miner selection of GPUs to use
  - Correction to Bminer command line for specific combinations of pool algorithms
  - Improved detection of mining software crashes and recovery for the Managed Profit Switcher

To get access to development versions, open the Options dialog in Awesome Miner. In the General section, enable Check for development versions. Then go to the Menu and click Check for updates.

Direct download links if needed:
https://www.awesomeminer.com/download/setupdev/AwesomeMiner.msi
https://www.awesomeminer.com/download/setupdev/AwesomeMinerRemoteService.msi


Totally awesome. We already have an online document with the URLS and the name Json to extract the difficulties and also of many currencies the price of the exchange.

It's a big change, more complex than I suggested, but more complete. I already have about 20 personalized coins, being able to read the difficulty in real time gives me an advantage without delay.

Thank you very much for attending to the requests of the users.

I have noticed that there is no option to add the URL for nethash, it would be perfect. While you do not have it, you will read it from the provider.
Thanks for the nice feedback on this new feature.

Nethash has never been configurable for a coin in Awesome Miner because it isn't used for the revenue calculations. It can however be a good insight when mining, especially now when coin properties can be dynamically updated with custom data sources. I understand your point that Nethash also could make sense to support.

IF it is not used then better. But it is informative to see the health of the currency, to see how much hash there is and to determine if it is worthwhile to enter, or simply to observe its change.

IF it is not fundamental for the currency, do not bother. I am really grateful and enjoying the personalized data, some currencies change very fast and to enter before to mine it that other bots that are based on Yiimp data is already an advantage. With this we already have control of the coins that we mine. And also to be able to mix data taking them from other suppliers. There are coins that your Explorer does not show in difficulty, because they do not have API, so I get it from CC, but I use the CTM prices. Yes, you have made my mining group very happy and personally, we already have some 50 custom coins

A detail, in the update says that coins with something modified would be marked in blue or something similar. I do not see that, even to a currency that I have put the price by hand, does not mark anything in the list of coins that tell me that it is modified. I say it to review it, I am more than happy with everything else.
trucobit
Jr. Member
*
Offline Offline

Activity: 420
Merit: 2


View Profile
March 27, 2019, 11:51:33 AM
 #9317

@PAtrike   Now we can even add new coins, obtaining price and difficulty by api URL. But there is one thing that we can not define and that is as easy as putting an extra field. THE blocktime. It is important because it determines how many blocks a day are generated and I suppose it would be important for AM calculations.

If I could add that simple field, we can now add coins directly as before with AM CU.

I feel like I'm always asking for something ...
trucobit
Jr. Member
*
Offline Offline

Activity: 420
Merit: 2


View Profile
March 27, 2019, 08:13:55 PM
 #9318

https://dl.dropboxusercontent.com/s/6o2i39gufuevpnt/Captura%20de%20pantalla%202019-03-27%20a%20las%2021.07.31.png


http://explore.placeh.io:8080/api/getdifficulty

I have this fault, which is foreign to AM. It is to obtain the difficulty of a coin. If you run the url in a browser it looks good, but then in AM you see that it also gets the Google Analytics code, Google's free statistics system

But the first line corresponds to the difficulty. I leave it to you in case there is some easy way that you can solve it, as some option to just read the first line, or ignore a scrypt if it has "google" inside as a name. Any option is valid.

This being very useful, there are coins that according to the providers to the explorer there a huge difference. The most realistic difficulty data apart from the explorer, is WTM.

I hope something can be done.
Siolim
Newbie
*
Offline Offline

Activity: 46
Merit: 0


View Profile
March 27, 2019, 09:32:17 PM
Last edit: March 27, 2019, 09:56:29 PM by Siolim
 #9319

Patrick, hello.

 When requested with CoinCalculators.io [?(@.Name=='Litecoin')].CurrentDifficulty
always one answer "Unable to read value"

Request Provider: WhatToMine
JSON property expression: coins.Litecoin.difficulty - I get data on all coins

When I request https://explorer.zcha.in/v2/mainnet/network, I get a response with the data, but on top of “Unable to read value”


The idea is very cool. Well done.
patrike
Legendary
*
Offline Offline

Activity: 1512
Merit: 1018


View Profile WWW
March 27, 2019, 09:36:46 PM
 #9320

Hi Patrike,

I'm trying to write a custom C# Script that sends a "reboot by IP" request. What is the way to get the host IP of a host that has triggered a Rule? Is it included in List<IMinerBase>?

I need to run a Script like this:

Code:
using System.Text;
using System.Net;
using System.Collections.Specialized;

public class ActionScript
{
private ContextProvider Context = ScriptManager.Context;

public bool Execute(List<IMinerBase> list)
{
foreach (var miner in list)
{
String ipToReset = // I need the IP of the miner that has triggered the rule or its host name

using (var wb = new WebClient())
            {
                var response = wb.DownloadString("http://xxx.xxx.xxx.xxx:xxx/?IP=" + ipToReset + "&RESET=");
            }
}
return true;
}
}
Please use the following. It will return the IP address or hostname you have configured for your miner.
Code:
string ipToReset = (miner as MinerBase).GetHostname();

Awesome Miner - The most powerful Windows software to manage and monitor ASIC, GPU and CPU miners
Centralized management for up to 200,000 miners, notifications, recovery, scripting, APIs, mobile web and profitability switching [Web site]
Join the Awesome Miner Affiliate Program and get a commission when you refer new customers to Awesome Miner
Pages: « 1 ... 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 [466] 467 468 469 470 471 472 473 474 475 476 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!