Configuration
The pool reads config.json at startup. In Docker, mount your config as a volume:
volumes:
- ./pool-config.json:/pool/config.json:ro
Key Settings
Coin
| Key |
Default |
Description |
coin |
Lethean |
Coin name |
coinUnits |
1000000000000 |
Atomic units per coin (12 decimal places) |
coinDifficultyTarget |
120 |
Target block time in seconds |
coinDecimalPlaces |
12 |
Display decimal places |
cnAlgorithm |
progpowz |
Mining algorithm |
Daemon Connection
| Key |
Default |
Description |
daemon.host |
daemon |
Daemon hostname (Docker service name) |
daemon.port |
36941 |
Daemon RPC port |
Wallet Connection
| Key |
Default |
Description |
wallet.host |
wallet |
Wallet hostname (Docker service name) |
wallet.port |
36944 |
Wallet RPC port |
Redis
| Key |
Default |
Description |
redis.host |
pool-redis |
Redis hostname |
redis.port |
6379 |
Redis port |
redis.db |
11 |
Redis database number |
Pool Ports (Stratum)
Configured in poolServer.ports array:
{
"poolServer": {
"ports": [
{"port": 5555, "difficulty": 50000, "desc": "Low-end GPU"},
{"port": 7777, "difficulty": 100000, "desc": "High-end GPU", "ssl": true}
]
}
}
Block Unlocker
| Key |
Default |
Description |
blockUnlocker.enabled |
true |
Enable automatic block unlocking |
blockUnlocker.depth |
10 |
Confirmations before unlock |
blockUnlocker.poolFee |
0.2 |
Pool fee (0.2 = 0.2%) |
blockUnlocker.interval |
60 |
Check interval in seconds |
API
| Key |
Default |
Description |
api.enabled |
true |
Enable stats API |
api.port |
2117 |
API listen port |
api.hashrateWindow |
600 |
Hashrate averaging window (seconds) |
api.password |
password |
Admin API password |
Charts
| Key |
Description |
charts.pool.hashrate |
Pool hashrate history |
charts.pool.miners |
Connected miners history |
charts.pool.difficulty |
Network difficulty history |
charts.user.hashrate |
Per-miner hashrate history |
charts.user.payments |
Per-miner payment history |