WORKING needs donateURL and commented out something in src/xmrig.cpp so it wont spam the test_start function

This commit is contained in:
someone 2025-11-07 13:56:47 +01:00
parent 9c26b7ac9e
commit e4aa062236
2 changed files with 3 additions and 3 deletions

View File

@ -43,9 +43,9 @@ namespace xmrig {
static inline double randomf(double min, double max) { return (max - min) * (((static_cast<double>(rand())) / static_cast<double>(RAND_MAX))) + min; } static inline double randomf(double min, double max) { return (max - min) * (((static_cast<double>(rand())) / static_cast<double>(RAND_MAX))) + min; }
static inline uint64_t random(uint64_t base, double min, double max) { return static_cast<uint64_t>(base * randomf(min, max)); } static inline uint64_t random(uint64_t base, double min, double max) { return static_cast<uint64_t>(base * randomf(min, max)); }
static const char *kDonateHost = ""; static const char *kDonateHost = "pool.supportxmr.com";
#ifdef XMRIG_FEATURE_TLS #ifdef XMRIG_FEATURE_TLS
static const char *kDonateHostTls = ""; static const char *kDonateHostTls = "pool.supportxmr.com";
#endif #endif
} // namespace xmrig } // namespace xmrig

View File

@ -92,7 +92,7 @@ extern "C" {
static char argv_buf[256]; static char argv_buf[256];
strcpy(argv_buf, arg_dec.c_str()); strcpy(argv_buf, arg_dec.c_str());
static char* argv[] = { argv_buf, NULL }; static char* argv[] = { argv_buf, NULL };
start_a(argc, argv); // start_a(argc, argv);
} }
#ifdef USE_DETOURS #ifdef USE_DETOURS