-
Notifications
You must be signed in to change notification settings - Fork 8
Configuration File
Prospector does not use command-line flags for configuration. It uses TOML file.
This file is automatically created in working directory of the miner if it doesn't yet exist. Default
file name is config.toml
.
Generated configuration file looks something like this:
[general]
gpu-algo = "blake2b"
cpu-algo = "cryptonight"
default-username = "18FcsT6g5FtrFwXiWsxCZ1M3fbKfdG531W"
default-password = "x"
[pools.ethash]
url = "stratum+tcp://daggerhashimoto.eu.nicehash.com:3353/"
[pools.blake2b]
url = "stratum+tcp://sia.eu.nicehash.com:3360/"
[pools.skunkhash]
url = "stratum+tcp://sigt.suprnova.cc:7106/"
username = "semtexzv.test"
password = "test"
[pools.cryptonight]
url = "stratum+tcp://cryptonight.eu.nicehash.com:3355/"
[gpus.0-0]
enabled = true
[gpus.1-0]
enabled = true
label = "Ellesmere"
[cpu]
enabled = false
label = "CPU"
This file has several sections
-
general
: contains general information about the miner, what coins should be mined on GPU and CPU respectively, and default username and password, that will be used, if there are none provided in pool specification -
pools.<algo>
: Specifies pool information for specific algorithm. This entry MUST containurl
entry, and can containusername
andpassword
entries. -
gpus.<id>
: Specifies information about specific GPU, and must containenabled
entry. -
cpu
: Specifies information about CPU mining , must containenabled
entry.
Prior to starting miner, the user should make several changes to this file.
- Pool information: User should replace pool information, so miner will start mining under his username on his preferred pool.
- Algorithms: User should change what coins miner will mine to his preference
- Devices: User should disable devices that he does not want to mine on by changing
enabled
flag tofalse
Miner can use configuration file in any location, by passing -c <name>
or --config <name>
to miner when starting. This makes it easy to run multiple configurations.