Build Status

Scavenger - Burstminer in Rust

Features

Requirements

Compile, test, ...

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

``` shell

build debug und run directly

cargo run

build debug (unoptimized)

cargo build

build release (optimized)

cargo build --release

test

cargo test ```

Run

shell scavenger --help

Config

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

``` yaml

secret phrase of account, leave out if pool mining

secret_phrase: 'your burst accounts secret phrase'

numeric account id

account_id: 10282355196851764065

list of directories containing plot files

plot_dirs: - 'C:\first\windows\plot\dir' - 'C:\second\windows\plot\dir' - '/first/linux/plot/dir' - '/second/linux/plot/dir'

url for getting mining info + submitting nonces

url: 'http://pool.dev.burst-test.net:8124'

threads to use for calculating deadlines | defaults to num cores + 1

workerthreadcount: 2

threads to use for reading from disks | defaults to number of disks plotfiles are spread over

readerthreadcount: 3

nonces to read in at once

there will be workerthreadcount * 2 buffers in total

to calculate ram size used for caching: noncespercache * workerthreadcount * 2 * 64

noncespercache: 65536 # default 65536

deadline limit | defaults to max u64

target_deadline: 10885484741537822773

avoid operating system caching

the nonces in your plotfile need to be multiple of 8

usedirectio: true # default true

interval for getting mining info [ms]

getmininginfo_interval: 3000 # default 3000ms

timeout requests to pool/wallet [ms]

timeout: 5000 # default 5000ms

delay after disks will be woken up (if 0 no wakeup) [s]

wakeup_after: 240 # default 240s

pin worker threads to cpu cores

cputhreadpinning: false # pin worker threads to cpu cores | default false ```

Donate