Hello, thanks for your work! What do you think about changing the setting to 0 to avoid donations without user consent? I think the user can change this later by passing parameters or using the config.json file.
I think this small change fixes it: diff -Nru a/debian/patches/0001-Disable-donation.patch b/debian/patches/0001-Disable-donation.patch --- a/debian/patches/0001-Disable-donation.patch 1970-01-01 00:00:00.000000000 +0000 +++ b/debian/patches/0001-Disable-donation.patch 2022-01-20 14:08:51.000000000 +0000 @@ -0,0 +1,18 @@ +Description: Change the setting to 0 to prevent donations without user consent. +Author: Francisco Vilmar Cardoso Ruviaro <francisco.ruvi...@riseup.net> +Forwarded: not-needed +Last-Update: 2022-01-20 + +--- a/src/donate.h ++++ b/src/donate.h +@@ -37,8 +37,8 @@ + * If you plan on changing this setting to 0 please consider making a one off donation to my wallet: + * XMR: 48edfHu7V9Z84YzzMa6fUueoELZ9ZRXq9VetWzYGzKt52XU5xvqgzYnDK9URnRoJMk1j8nLwEVsaSWJ4fhdUyZijBGUicoD + */ +-constexpr const int kDefaultDonateLevel = 1; +-constexpr const int kMinimumDonateLevel = 1; ++constexpr const int kDefaultDonateLevel = 0; ++constexpr const int kMinimumDonateLevel = 0; + + + #endif /* XMRIG_DONATE_H */ diff -Nru a/debian/patches/series b/debian/patches/series --- a/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ b/debian/patches/series 2022-01-20 14:06:31.000000000 +0000 @@ -0,0 +1 @@ +0001-Disable-donation.patch Best regards, -- Francisco Vilmar Cardoso Ruviaro <francisco.ruvi...@riseup.net> 4096R: 1B8C F656 EF3B 8447 2F48 F0E7 82FB F706 0B2F 7D00
OpenPGP_signature
Description: OpenPGP digital signature