More flexible pools configuration.

This commit is contained in:
XMRig 2017-06-07 02:46:52 +03:00
parent 4c06d8b080
commit b8cc1136a4
8 changed files with 83 additions and 40 deletions

View file

@ -24,6 +24,20 @@
#ifndef __DONATE_H__
#define __DONATE_H__
#define DONATE_LEVEL 5
/*
* Dev donation.
*
* Percentage of your hashing power that you want to donate to the developer, can be 0 if you don't want to do that.
* 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.
* Switching is instant, and only happens after a successful connection, so you never loose any hashes.
*
* If you plan on changing this setting to 0 please consider making a one off donation to my wallet:
* XMR: 48edfHu7V9Z84YzzMa6fUueoELZ9ZRXq9VetWzYGzKt52XU5xvqgzYnDK9URnRoJMk1j8nLwEVsaSWJ4fhdUyZijBGUicoD
* BTC: 1P7ujsXeX7GxQwHNnJsRMgAdNkFZmNVqJT
*/
constexpr const int kDonateLevel = 5;
#endif /* __DONATE_H__ */