Commit 9e9d25c7bad94116c50bb7d2225510930d092f5e

Con Kolivas 2011-09-29T09:39:29

Enable 0.5% donation by default.

diff --git a/README b/README
index c8adb5e..84bd527 100644
--- a/README
+++ b/README
@@ -3,8 +3,8 @@ This is a multi-threaded multi-pool CPU and GPU miner with ATI GPU monitoring,
 (over)clocking and fanspeed support for bitcoin and derivative coins.
 
 This code is provided entirely free of charge by the programmer in his spare
-time so donations would be greatly appreciated. Please consider using the
---donation feature or donate directly to the address below.
+time so donations are greatly appreciated. Please note the donation feature is
+on by default at a tiny 0.5% which you wouldn't notice, but can be disabled.
 
 Con Kolivas <kernel@kolivas.org>
 15qSxP1SQcUX3o4nhkfdbgyoWEFMomJ4rZ
@@ -124,7 +124,7 @@ Options for both config file and command line:
 --debug|-D          Enable debug output
 --device|-d <arg>   Select device to use, (Use repeat -d for multiple devices, default: all)
 --disable-gpu|-G    Disable GPU mining even if suitable devices exist
---donation <arg>    Set donation percentage to cgminer author (0.0 - 99.9) (default: 0.0)
+--donation <arg>    Set donation percentage to cgminer author (0.0 - 99.9) (default: 0.5)
 --enable-cpu|-C     Enable CPU mining with GPU mining (default: no CPU mining if suitable GPUs exist)
 --failover-only     Don't leak work to backup pools when primary pool is lagging
 --gpu-threads|-g <arg> Number of threads per GPU (1 - 10) (default: 2)
@@ -537,8 +537,8 @@ A: No.
 ---
 
 This code is provided entirely free of charge by the programmer in his spare
-time so donations would be greatly appreciated. Please consider using the
---donation feature or donate directly to the address below.
+time so donations are greatly appreciated. Please note the donation feature is
+on by default at a tiny 0.5% which you wouldn't notice, but can be disabled.
 
 Con Kolivas <kernel@kolivas.org>
 15qSxP1SQcUX3o4nhkfdbgyoWEFMomJ4rZ
diff --git a/main.c b/main.c
index 4d0145f..031b87c 100644
--- a/main.c
+++ b/main.c
@@ -266,7 +266,7 @@ static unsigned int total_go, total_ro;
 static struct pool *pools[MAX_POOLS];
 static struct pool *currentpool = NULL;
 
-static float opt_donation = 0.0;
+static float opt_donation = 0.5;
 static struct pool donationpool;
 
 static int total_pools;