Skip to content

xkuza/remove_miner_fees

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nodevfee

it should remove miner fees using nfqueue. Nothing working so far :D

How does this work?

It modifies outgoing packets using nfqueue, substituting the dev fee wallet address with your own wallet address.

Setup

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

Specifying where mining fees should be redirected

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

Using pools other than nanopool

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.

Original Author

Geza Kovacs

Licence

GNU GPL v3

Original Donations

ETH 0xb70fc6f9865ce18c20d90ebf067d9951918f8933

BTC 1PYmDbxXDS9FjAdH8jxE2stdf1Yrsvqdos

ZEC t1Yi9izeKkWbVtXRrQNdUbs7BdZVbwVVRcw

SIA 74ab711929bfc28359c8485a4e488d2f89b623771788fbeca7e7f5fe993ec691fec713e9f35b

About

Removes miner fees on claymore ethereum miner.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%