-
Notifications
You must be signed in to change notification settings - Fork 0
Home
David McFadzean edited this page May 6, 2019
·
7 revisions
See Release Notes
You will likely want to run a local Tesseract node for your miner.
- Download and unpack tesr-miner.0427.zip to your local drive
- Optionally customize
start-bfgminer.bat- Generate a miner address by running this command in the
tesr-nodefolder: tesseract-cli.exe -datadir=data getnewaddress miner bech32- You should get an address that looks like
tsrtest1qqfagf3xx0gdgq54pz68tmsr98wjmrncgu2wusf(testnet addresses start withtsrtest) - Replace the address in
start-bfgminer.batwith your own after the--generate-tooption - If you changed the RPC name or password in
data\tesseract.confyou will have to update them here too
- Generate a miner address by running this command in the
- Get the source:
git clone https://github.com/cryptotechguru/bfgminer-sha3.git - Run
./autogen.shand resolve any missing dependencies- Typically
sudo apt install uthash-dev libjansson-dev libcurl4-openssl-dev libncursesw5-dev
- Typically
- Configure the build
- If you want CPU-only mining, run:
sh reconfigure-cpu.sh - If you want GPU-only mining, run:
sh reconfigure-gpu.sh - If you want both, run:
sh reconfigure-combo.sh
- If you want CPU-only mining, run:
- Run
make
- AMD GPU drivers download: https://www.amd.com/en/support
- AMD GPU opencl howto: https://linuxconfig.org/install-opencl-for-the-amdgpu-open-source-drivers-on-debian-and-ubuntu
-
On windows customize and run
start-bfgminer.bat -
More doc available in the repo's README
-
On linux create a shell script:
bfgminer -u [username] -p [password] --generate-to [mining-address] --coinbase-sig "[Some text you want in the coinbase transaction]" -D -o http://localhost:18331 --no-default-config -S opencl:auto --algo keccak --set-device OCL0:intensity=d 2> debug.log
-
usernameandpasswordshould correspond torpcuserandrpcpasswordin thetesseract.conffile - make sure
mining-addressis a bech32 address - use
-S autoif CPU-mining - use
--set-deviceonly if GPU-mining