Note that this miner was only intended to be a temporary solution in the early days of Warthog and to serve as a reference for miner devs. There are probably better miners available today, see here.
WARTHOG JANUSHASH MINER Copyright (c) 2023 CoinFuMasterShifu, Pumbaa, Timon & Rafiki
Note: Ubuntu 20.04 does not meet these requirements.
sudo apt install meson ninja-build build-essential
git clone https://github.com/CoinFuMasterShifu/janusminer
cd janusminer
meson build .
(meson build . --buildtype=release
for better performance)cd build
meson configure -Dopencl-legacy=true
ninja
DOCKER_BUILDKIT=1 docker build . -f Dockerfiles/Dockerfile_Ubuntu18 --output build
in the repo directory.
DOCKER_BUILDKIT=1 docker build . -f Dockerfiles/Dockerfile_Ubuntu20 --output build
in the repo directory.
DOCKER_BUILDKIT=1 docker build . -f Dockerfiles/Dockerfile_Ubuntu22 --output build
in the repo directory.Binaries are located in ./build
directory.
Parameter | Description |
---|---|
--help | Help screen. |
-V, --version | Print version and exit. |
-a, --address=WALLETADDRESS |
Specify wallet address to mine on. |
--gpus=STRING | Specify GPUs as comma separated list like "0,2,3". By default all GPUs are used. |
-t, --threads=INT | Number of CPU worker threads, use 0 for hardware concurrency. (default='0') |
-h, --host=STRING | Host (RPC-Node / Pool URL) (default='localhost') |
-p, --port=INT | Port (RPC-Node / Pool PORT) (default='3000') |
-u, --user=STRING | Enable stratum protocol and specify username ( default='') |
--password=STRING | Password (for Stratum) (default='') |
with restarter:
screen -dmS janusminer bash -c "while true; do ~/janusminer-ubuntu22 -a YOUR_WALLET_ADDRESS -h YOU_NODE_IP -p YOUR_NODE_PORT; done"
without restarter:
screen -dmS janusminer ~/janusminer-ubuntu22 -a YOUR_WALLET_ADDRESS -h YOU_NODE_IP -p YOUR_NODE_PORT
To use it you need to select “Custom” miner when you create Flight Sheet and paste the direct link on HiveOS build (e.g. janusminer_hiveos-0.0.1.tgz) from Releases into "Installation URL'".
sudo wget https://update.mmpos.eu/fixes/j/mmp-stats.sh -O mmp-stats.sh sudo chmod +x mmp-stats.sh