Crates.io | anuma-miner |
lib.rs | anuma-miner |
version | 0.2.4 |
source | src |
created_at | 2024-10-25 10:29:11.611031 |
updated_at | 2024-10-25 10:29:11.611031 |
description | A Anuma high performance CPU miner |
homepage | |
repository | https://github.com/AnumaNetwork/anuma-miner |
max_upload_size | |
id | 1422321 |
size | 252,145 |
A Rust binary for file encryption to multiple participants.
With Rust's package manager cargo, you can install anuma-miner via:
cargo install anuma-miner
The release page includes precompiled binaries for Linux, macOS and Windows.
To start mining you need to run anumad and have an address to send the rewards to.
Help:
anuma-miner 0.2.1
A Anuma high performance CPU miner
USAGE:
anuma-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 anumad says it is not synced, only useful when passing `--allow-submit-
block-when-not-synced` to anumad [default: false]
--testnet Use testnet instead of mainnet [default: false]
-V, --version Prints version information
OPTIONS:
--devfund <devfund-address> Mine a percentage of the blocks to the Anuma devfund [default: Off]
--devfund-percent <devfund-percent> The percentage of blocks to send to the devfund [default: 1]
-s, --anumad-address <anumad-address> The IP of the anumad instance [default: 127.0.0.1]
-a, --mining-address <mining-address> The Anuma address for the miner reward
-t, --threads <num-threads> Amount of miner threads to launch [default: number of logical cpus]
-p, --port <port> Anumad port [default: Mainnet = 12413, Testnet = 12513]
To start mining you just need to run the following:
./anuma-miner --mining-address anuma:XXXXX
This will run the miner on all the available CPU cores.
NOTE: This feature is off by default
The devfund is a fund managed by the Anuma community in order to fund Anuma development
A miner that wants to mine a percentage into the dev-fund can pass the following flags:
anuma-miner --mining-address= XXX --devfund=anuma:qrg03ql6rnfvwd8a3z04j5a33l6f5d0ua8fkysftx8w7kacf0lsrqzxq2k2ud
and can pass --devfund-precent=XX.YY
to mine only XX.YY% of the blocks into the devfund (passing --devfund
without specifying a percent will default to 1%)
anuma:qrg03ql6rnfvwd8a3z04j5a33l6f5d0ua8fkysftx8w7kacf0lsrqzxq2k2ud