forked from tpruvot/ccminer
-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added pool-switching for developer donation.
- Loading branch information
1 parent
fd29050
commit 8be35c1
Showing
4 changed files
with
137 additions
and
12 deletions.
There are no files selected for viewing
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,31 @@ | ||
#ifndef DONATE_H | ||
#define DONATE_H | ||
|
||
/* | ||
* Minimum dev donation. | ||
* Minimum percentage of your hashing power that you want to donate to the | ||
* developer, can be 0 if you prefer not to. | ||
* You can set the donation percentage higher by using the --donate flag. | ||
* | ||
* Example of how it works for the default setting of 1: | ||
* You miner will mine into your usual pool for 99 minutes, then switch to the | ||
* developer's pool for 1 minute. | ||
* | ||
* If you plan on changing this setting to 0 please consider making a one-time | ||
* donation to the developers' wallets: | ||
* | ||
* tpruvot (ccminer) | ||
* BTC donation address: 1AJdfCpLWPNoAMDfHF1wD5y8VgKSSTHxPo | ||
* | ||
* brianmct (x16r optimizations) | ||
* BTC donation address: 1FHLroBZaB74QvQW5mBmAxCNVJNXa14mH5 | ||
* RVN donation address: RWoSZX6j6WU6SVTVq5hKmdgPmmrYE9be5R | ||
* | ||
*/ | ||
#define MIN_DEV_DONATE_PERCENT 1 | ||
|
||
|
||
// 100 minutes | ||
#define DONATE_CYCLE_TIME 6000 | ||
|
||
#endif |
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