Giter Site home page Giter Site logo

janusminer's Introduction

WARTHOG JANUSHASH MINER Copyright (c) 2023 CoinFuMasterShifu, Pumbaa, Timon & Rafiki

πŸ“¦ What is in the box?

  • GPU+CPU Miner for Janushash

πŸ’» System Requirements

  • Linux
  • gcc11 or newer
  • meson
  • ninja
  • opencl

Note: Ubuntu 20.04 does not meet these requirements.

πŸ˜΅β€πŸ’« BUILD INSTRUCTIONS

  • Install dependencies (gcc, meson, ninja): 'sudo apt install meson ninja-build build-essential'
  • Clone the repo: git clone https://github.com/CoinFuMasterShifu/janusminer
  • cd into the repo: cd janusminer
  • Create build directory: meson build . (meson build . --buildtype=release for better performance)
  • cd into build directory: cd build
  • [Optional] For old OpenCL headers (like on Ubuntu 20.04):
    • meson configure -Dopencl-legacy=true
  • Compile using ninja: ninja

Docker build

System Requirements

  • Linux
  • Docker

Build for Linux

Ubuntu 18.04
  • Run DOCKER_BUILDKIT=1 docker build . -f Dockerfiles/Dockerfile_Ubuntu18 --output build in the repo directory.
Ubuntu 20.04
  • Run DOCKER_BUILDKIT=1 docker build . -f Dockerfiles/Dockerfile_Ubuntu20 --output build in the repo directory.
Ubuntu 22.04
  • Run DOCKER_BUILDKIT=1 docker build . -f Dockerfiles/Dockerfile_Ubuntu22 --output build in the repo directory.

Binaries are located in ./build directory.

▢️ USAGE

  • Linux only at the moment
  • Compile with meson/ninja
  • Run the miner (use some restarter in case it crashes)
  • In case you are unsure, things should work exactly as in this Warthog node guide

General Options

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='')

One line example to start mining

  • 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

Custom miner for HiveOS

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'".

Flight Sheet example for HiveOS

mmpOS implementation

  • After installing and running the miner using the custom miner feature in mmpOS, the below mmp-stats.sh file can be pulled into the miner directory to enable hashrate reporting in mmpOS for the Janusminer.

sudo wget https://update.mmpos.eu/fixes/j/mmp-stats.sh -O mmp-stats.sh sudo chmod +x mmp-stats.sh

janusminer's People

Contributors

coinfumastershifu avatar bu11ettrain avatar julskawa avatar realsetvin avatar babelfish2001 avatar followgeo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.