Skip to content

Commit

Permalink
improve help text for karlsend-address arg
Browse files Browse the repository at this point in the history
- add missing devnet arg in readme
  • Loading branch information
Leon1777 committed Aug 25, 2024
1 parent 79b5fff commit d3a721a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,10 @@ OPTIONS:
--opencl-workload <OPENCL_WORKLOAD> Ratio of nonces to GPU possible parrallel run in OpenCL [default: 512]
--opencl-workload-absolute The values given by workload are not ratio, but absolute number of nonces in OpenCL [default: false]
-p, --port <PORT> karlsend port [default: Mainnet = 42110, Testnet = 42210, Devnet = 42610]
-s, --karlsend-address <karlsend_ADDRESS> The IP address, pool address, or node address of the karlsend instance [default: 127.0.0.1]
-s, --karlsend-address <karlsend_ADDRESS> IP, pool, or node address of the Karlsend instance. Use stratum+tcp:// for stratum or grpc:// for Karlsend (default: grpc://127.0.0.1)
-t, --threads <NUM_THREADS> Amount of CPU miner threads to launch [default: 0]
--testnet Use testnet instead of mainnet [default: false]
--devnet Use devnet instead of mainnet [default: false]
```

To start mining, you just need to run the following:
Expand Down
2 changes: 1 addition & 1 deletion src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ pub struct Opt {
short = 's',
long = "karlsend-address",
default_value = "127.0.0.1",
help = "The IP address, pool address, or node address of the karlsend instance"
help = "Specify the IP, pool, or node address of the Karlsend instance. Use stratum+tcp:// for stratum or grpc:// for Karlsend (default: grpc://127.0.0.1)"
)]
pub karlsend_address: String,

Expand Down

0 comments on commit d3a721a

Please sign in to comment.