Manual Configuration
Configuration Example
Full example of stratum-proxy.yaml with comments for configuring HashCore Proxy.
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 # 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 pool
- url: btc.bitcap.io:4444 # Backup pool
user: vnish.farm4545
pass: '123'
tls: true
submission_rate Parameter
In YAML, this is specified as shares per second (the inverse of the interval from the web configurator):
| Interval (web configurator) | submission_rate (YAML) |
|---|---|
| 1 share every 5 seconds | 0.2 (1/5) |
| 1 share every 10 seconds | 0.1 (1/10) |
| 2 shares every 5 seconds | 0.4 (2/5) |