Skip to content

Vecno-Foundation/vecno-cpu-miner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Vecno-cpu-miner

A Rust binary for file encryption to multiple participants. This miner should only be used for testnet. For mainnet mining please use vecno-miner.

Installation

From Sources

With Rust's package manager cargo, you can install vecno-cpu-miner via:

cargo build --release --all  

From Binaries

The release page includes precompiled binaries for Linux, macOS and Windows.

Usage

To start mining you need to run vecnod and have an address to send the rewards to.

Help:

vecno-cpu-miner 0.0.1
A Vecno high performance CPU miner

USAGE:
    vecno-cpu-miner [FLAGS] [OPTIONS] --mining-address <mining-address>

FLAGS:
    -d, --debug                   Enable debug logging level
    -h, --help                    Prints help information
        --mine-when-not-synced    Mine even when vecnod says it is not synced, only useful when passing `--allow-submit-
                                  block-when-not-synced` to vecnod  [default: false]
        --testnet                 Use testnet instead of mainnet [default: false]
    -V, --version                 Prints version information

OPTIONS:
    -s, --vecnod-address <vecnod-address>      The IP of the vecnod instance [default: 127.0.0.1]
    -a, --mining-address <mining-address>      The Vecno address for the miner reward
    -t, --threads <num-threads>                Amount of miner threads to launch [default: number of logical cpus]
    -p, --port <port>                          Vecnod port [default: Mainnet = 7110, Testnet = 7210]

To start mining you just need to run the following:

./vecno-cpu-miner --mining-address vecno:XXXXX

This will run the miner on all the available CPU cores.

About

A high performance CPU-miner for the Vecno Blockchain written in Rust.

Topics

Resources

License

Apache-2.0, Apache-2.0 licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
Apache-2.0
LICENSE-MIT

Stars

Watchers

Forks

Languages