-
Notifications
You must be signed in to change notification settings - Fork 178
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Compatibility with all NiceHash algorithms - Automatic compatibility with future NiceHash algorithms - Bug fixes & improvements
- Loading branch information
nicehashdev
committed
Oct 25, 2015
1 parent
8243485
commit aa7d25f
Showing
10 changed files
with
132 additions
and
45 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
using Newtonsoft.Json; | ||
|
||
namespace NiceHashBotLib | ||
{ | ||
class APIAlgorithmInfo | ||
{ | ||
[JsonProperty(PropertyName = "algo")] | ||
public int ID; | ||
|
||
[JsonProperty(PropertyName = "name")] | ||
public string Name; | ||
|
||
[JsonProperty(PropertyName = "min_limit")] | ||
public double MinimalLimit; | ||
|
||
[JsonProperty(PropertyName = "down_step")] | ||
public double PriceDownStep; | ||
|
||
[JsonProperty(PropertyName = "multi")] | ||
public double Multiplier; | ||
|
||
[JsonProperty(PropertyName = "speed_text")] | ||
public string SpeedText; | ||
} | ||
|
||
class APIBuyInfo | ||
{ | ||
[JsonProperty(PropertyName = "algorithms")] | ||
public APIAlgorithmInfo[] Algorithms; | ||
|
||
[JsonProperty(PropertyName = "down_time")] | ||
public int DownStepTime; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters