Post
Topic
Board Mining (Altcoins)
Re: XMR-stak-JK 2.10.5 Compiled with no devfee (Updated: 2019-6-15)
by
JaredKaragen
on 20/06/2019, 06:54:42 UTC
Hi JK !
Thanks a ton for this update. As you say, a special vote of thanks to Fireice-UK
A quick question,: What if we put another wallet address instead of 127.0.0.1 ? why does the dev fee go to an ip address and not to a specific wallet? Will any other changes be needed just in case there is any code trickery ?
Thanks
Badhwar

*snip*

its not a wallet address;  its a pool address (donate.xmr-stak.com:xxxx)

Here's a copy/paste from the source I compiled to give you an idea....  they used to have a URL in place of 127.0.0.1.

Since devfee is set to 0%, it should technically never run this code;  but just in case, i changed it so it times out quickly.    I haven't really followed all of the functions in executor.cpp to the point of fully understanding them and their workflow;   maybe I will one day.....

im pretty sure his donate pool doesn't require a username or password and just accepts blind connections.  Makes modifying the source to redirect the donation a bit trickier;  which im not trying to do myself anyways.  researching executor.cpp will teach me more;  but i have no reason to do it as of right now.

I could set them to NULL or blank;  but;  who knows what kind of error that could cause.

Code:
switch(jconf::inst()->GetCurrentCoinSelection().GetDescription(0).GetMiningAlgo())
{
case cryptonight_heavy:
if(dev_tls)
pools.emplace_front(0, "127.0.0.1:8888", "", "", "", 0.0, true, true, "", true);
else
pools.emplace_front(0, "127.0.0.1:5555", "", "", "", 0.0, true, false, "", true);
break;
case cryptonight_gpu:
if(dev_tls)
pools.emplace_front(0, "127.0.0.1:8811", "", "", "", 0.0, true, true, "", false);
else
pools.emplace_front(0, "127.0.0.1:5511", "", "", "", 0.0, true, false, "", false);
break;
case cryptonight_monero_v8:
if(dev_tls)
pools.emplace_front(0, "127.0.0.1:8800", "", "", "", 0.0, true, true, "", false);
else
pools.emplace_front(0, "127.0.0.1:5500", "", "", "", 0.0, true, false, "", false);
break;
case cryptonight_aeon:
if(dev_tls)
pools.emplace_front(0, "127.0.0.1:7777", "", "", "", 0.0, true, true, "", true);
else
pools.emplace_front(0, "127.0.0.1:4444", "", "", "", 0.0, true, false, "", true);
break;
case cryptonight_r:
if(dev_tls)
pools.emplace_front(0, "127.0.0.1:8822", "", "", "", 0.0, true, true, "", false);
else
pools.emplace_front(0, "127.0.0.1:5522", "", "", "", 0.0, true, false, "", false);
break;
default:
if(dev_tls)
pools.emplace_front(0, "127.0.0.1:6666", "", "", "", 0.0, true, true, "", true);
else
pools.emplace_front(0, "127.0.0.1:3333", "", "", "", 0.0, true, false, "", true);
break;
}