Giter Club home page Giter Club logo

scavenger's Introduction

Build Status License: GPL v3

Scavenger - PoC miner in Rust

Features

  • windows, linux, macOS, android & more
  • x86 32 & 64bit, arm, aarch64
  • direct io
  • avx512f, avx2, avx, sse, neon
  • opencl
  • fastest PoC miner there is

Documentation/Wiki

https://github.com/PoC-Consortium/scavenger/wiki

Binary + source code releases

https://github.com/PoC-Consortium/scavenger/releases

Scavenger can also be installed directly via cargo:

cargo install scavenger

Development Requirements

  • new version of rust, stable toolchain

Compile, test, ...

Binaries are in target/debug or target/release depending on optimization.

# decide on features to run/build:
simd: support for SSE2, AVX, AVX2 and AVX512F (x86_cpu)
neon: support for Arm NEON (arm_cpu)
opencl: support for OpenCL (gpu)

# build debug und run directly
e.g. cargo run --features=simd    #for a cpu version with SIMD support

# build debug (unoptimized)
e.g cargo build --features=neon   #for a arm cpu version with NEON support

# build release (optimized)
e.g. cargo build --release --features=opencl,simd    #for a cpu/gpu version

# test
cargo test  [--features={opencl,simd,neon}]

Run

scavenger --help

Config

The miner needs a config.yaml file with the following structure:

https://github.com/PoC-Consortium/scavenger/blob/master/config.yaml

Docker

A docker image based on alpine linux is built automatically on every commit to master: pocconsortium/scavenger This image will use only your cpu.

To run it on the fly use something like this:

docker run \
--rm \
--name scavenger \
--volume /path/to/your/config.yaml:/data/config.yaml \
--volume /path/to/your/disks:/disks \
pocconsortium/scavenger

Alternatively a docker compose file could look like this:

version: '2'
services:
  scavenger:
    image: pocconsortium/scavenger
    restart: always
    volumes:
      - /path/to/your/disks:/disks
      - /path/to/your/config.yaml:/data/config.yaml

Donate

  • bold: BURST-8V9Y-58B4-RVWP-8HQAV
    • architecture
    • linux support
  • JohnnyDeluxe: BURST-S338-R6VC-LTFA-2GC6G
    • open cl
    • direct io
    • shabal optimizations
    • windows support

scavenger's People

Contributors

johnnyffm avatar spebern avatar mmullis avatar llybin avatar cohsrt avatar felixbrucker avatar aprock avatar tzdybal 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.