Manual Configuration
Example Configuration
log_level: info
api_port: 5010
log_dir: ./configs/log
telemetry: null
upstream_tcp_settings:
keep_alive:
idle_time:
secs: 15
nanos: 0
interval:
secs: 5
nanos: 0
retries: 3
user_timeout: 29s
ports:
- bind_port: 3900 # Mining port
name: Bitcap # Name for Grafana
active: true
submission_rate: 0.2 # Shares per second (0.2 = 1 share every 5 seconds)
aggregation: 255 # Number of miners per pool connection (1-256)
mining_algorithm: sha256d # Mining algorithm (sha256d / scrypt)
pool_groups:
- group: Example group
weight: 1.0
pools:
- url: btc.bitcap.io:3333 # Stratum URL
user: vnish.farm3056 # Pool login
pass: '123' # Password
tls: true # Enable TLS connection to pools
- url: btc.bitcap.io:4444 # Backup pool
user: vnish.farm4545 # Pool login
pass: '123'
tls: true
- bind_port: 3905 # Mining port
name: Bitcap2
active: true
submission_rate: 0.2
aggregation: 255
mining_algorithm: sha256d
pool_groups:
- group: Example group
weight: 1.0
pools:
- url: btc.bitcap.io:3333
user: vnish.farm5555
pass: '111'
tls: true
Configuring Share Submission Rate
The submission_rate parameter is set in YAML as the number of shares per second. This is the inverse of the interval in seconds from the web configurator:
- For 1 share every 5 seconds:
submission_rate: 0.2(1 / 5 = 0.2). - For 1 share every 10 seconds:
submission_rate: 0.1(1 / 10 = 0.1). - For 2 shares every 5 seconds:
submission_rate: 0.4(2 / 5 = 0.4).