Author

Topic: How to remove devfee from optiminer on ethos and other ubuntu distros (Read 3884 times)

hero member
Activity: 2548
Merit: 626
so tell me something, it's ok for you folks to hack a miner that has a devfee because you think the fee should be smaller, but it's not ok to hack a miner that has a fee of 2.5%, because that percentage is ok ?

So who are you now to decide what fee is ok , and what isn't ?

If 10% is much for you, don't use the miner. Smiley
newbie
Activity: 26
Merit: 0
This method is not working with the new Optiminer 1.0.1
sr. member
Activity: 245
Merit: 256
Author fellow, and thank him for the product, but it ruined by greed. 10% - it is very much IMHO.
He had to use SSL connection to your server.
I did not want to spread in Public technique, but once it happened already.

You can instead nfqsed, use netsed.
full member
Activity: 162
Merit: 100
works nice on ethos!!!!
hero member
Activity: 630
Merit: 502
how about for people who theoretically wanted to use his windows optiminer?
how can they do this?
thanks
If a Windows computer is connected through a Linux computer then that Linux computer can be the man in the middle to accomplish the same result.
full member
Activity: 168
Merit: 104
how about for people who theoretically wanted to use his windows optiminer?
how can they do this?
thanks
hero member
Activity: 630
Merit: 502
https://forum.z.cash/t/about-linux-dev-fees/9600/37

Systemd nfqsed.service:

Code:
[Unit]
Description=Transparently modifies network traffic using a predefined set of substitution rules
Wants=optiminer.service
After=optiminer.service

[Service]
ExecStartPre=/sbin/iptables -A OUTPUT -p tcp -d eu1-zcash.flypool.org --dport 3333 -j NFQUEUE
ExecStart=/usr/bin/stdbuf -oL /usr/local/bin/nfqsed -v -s /t1RsS2XVTjEeGST1RdKzPRSu5GTu45WsqcU/t1TNT1oDGRfvJwQ2CQdLT8U8U9GMXrVHhRJ
ExecReload=/bin/kill -HUP $MAINPID
ExecStopPost=/sbin/iptables -D OUTPUT -p tcp -d eu1-zcash.flypool.org --dport 3333 -j NFQUEUE

Nice=-20
SendSIGHUP=yes
KillMode=mixed
RestartSec=10s
Restart=always

PrivateDevices=yes
ProtectSystem=full
ProtectHome=yes
NoNewPrivileges=yes

[Install]
WantedBy=multi-user.target
full member
Activity: 168
Merit: 104
just curious, thanks for sharing
newbie
Activity: 3
Merit: 0
this would work for "other" miners with dev fees also right?

Yes but I support miner developers who are actively developing and supporting the community, I encourage everyone else to as well.
full member
Activity: 168
Merit: 104
this would work for "other" miners with dev fees also right?
newbie
Activity: 3
Merit: 0
Due to the fact that the dev of optiminer stopped developing his miner i decided i am no longer paying his devfee. Here is the steps i took to work around paying his ridiculous 10% fee.

Code:
git clone https://github.com/rgerganov/nfqsed
for ethos:
Code:
sudo apt-get-ubuntu -y install libnetfilter-queue-dev
for ubuntu:
Code:
sudo apt-get install -y libnetfilter-queue-dev

next compile nfqsed:

Code:
cd nfqsed
make
sudo cp nfqsed /usr/local/bin

for ethos: edit your custom.sh script that runs at boot:
Code:
cd /home/ethos
vi custom.sh

Add these lines before exit 0:

Code:
sudo iptables -t nat -A OUTPUT -p tcp --dport 3333 -d eu1-zcash.flypool.org -j DNAT --to 192.99.33.207
sudo iptables -A OUTPUT -p tcp --dport 3333 -d eu1-zcash.flypool.org -j NFQUEUE
sudo iptables -A OUTPUT -p tcp --dport 3333 -d us1-zcash.flypool.org -j NFQUEUE
sudo /usr/local/bin/nfqsed -s /t1RsS2XVTjEeGST1RdKzPRSu5GTu45WsqcU/t1dHzudQn6gxUncY1o9wqu8T6BM26c5qzVY >/dev/null &
minestop && minestart

for other ubuntu distros add that to your startup scripts, minus the minestop line


Basically what this does is watch the packets for his Zcash address mining to eu1-zcash.flypool.org and replace it with your address mining on us1-zcash.flypool.org (or change that to your pool)
Also you’ll wanna change the 2nd Zcash address in the nfqsed line to your own address, or leave it in for a little while to donate some to me, since i just saved you a 10% dev fee to someone who doesn’t do development work any longer.
Jump to: