it should remove miner fees using nfqueue. Nothing working so far :D
It modifies outgoing packets using nfqueue, substituting the dev fee wallet address with your own wallet address.
Disable ufw
sudo ufw disable
Install python-nfqueue and python-scapy. Has been tested with python-nfqueue 0.5-1build2 and python-scapy 2.2.0-1 from the ubuntu 16.04 repositories, if using different versions you may need to modify the code as described here
sudo apt-get install python-nfqueue python-scapy
Download the program and run it as root (nfqueue needs to be run as root). Keep it running in the background
wget https://raw.githubusercontent.com/xkuza/remove_miner_fees/master/nodevfee.py
sudo python nodevfee.py
Or this, to leave script running even logged out off root
nohup python nodevfee.py
To autorun, put a line in your /etc/rc.local
su -s /bin/sh -c 'python /nodevfee.py' root
Since rc.local will run as root when system boots up, you won't need to put a password there.
Now you can start the miner
./ethdcrminer64 -epool eth-eu.nanopool.org:9999 -ewal 0xf5ec8c6afc3dd2712b43b95128813bd09787a782/[email protected]/WORKER1 -epsw x
Note that this program redirects mining fees to 0xf5ec8c6afc3dd2712b43b95128813bd09787a782
by default. You will want to substitute that with your own wallet address in the source code by editing the variable my_eth_address
Note that this program assumes port 9999
by default (used by nanopool). Substitute the port by editing the number after --dport 9999
in the iptables
command.
ETH 0xb70fc6f9865ce18c20d90ebf067d9951918f8933
BTC 1PYmDbxXDS9FjAdH8jxE2stdf1Yrsvqdos
ZEC t1Yi9izeKkWbVtXRrQNdUbs7BdZVbwVVRcw
SIA 74ab711929bfc28359c8485a4e488d2f89b623771788fbeca7e7f5fe993ec691fec713e9f35b