-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #983 from Fi3/AddParallelismToCpuMiner
Add parallelism to cpu miner
- Loading branch information
Showing
4 changed files
with
153 additions
and
40 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# CPU Sv2 mining device | ||
|
||
Header only sv2 cpu miner. | ||
|
||
``` | ||
Usage: mining-device [OPTIONS] --address-pool <ADDRESS_POOL> | ||
Options: | ||
-p, --pubkey-pool <PUBKEY_POOL> Pool pub key, when left empty the pool certificate is not checked | ||
-i, --id-device <ID_DEVICE> Sometimes used by the pool to identify the device | ||
-a, --address-pool <ADDRESS_POOL> Address of the pool in this format ip:port or domain:port | ||
--handicap <HANDICAP> This value is used to slow down the cpu miner, it represents the number of micro-seconds that are awaited between hashes [default: 0] | ||
--id-user <ID_USER> User id, used when a new channel is opened, it can be used by the pool to identify the miner | ||
-h, --help Print help | ||
-V, --version Print version | ||
``` | ||
|
||
Usage example: | ||
``` | ||
cargo run --release -- --address-pool 127.0.0.1:20000 --id-device device_id::SOLO::bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters