No results
1
Setup
Claude edited this page 2026-04-03 11:12:55 +01:00
Table of Contents
Setup
Docker
pool-redis:
image: redis:7-alpine
pool:
image: lthn/pool:testnet
ports:
- "5555:5555" # Stratum
- "7777:7777" # Stratum SSL
- "2117:2117" # API
- "8888:8888" # Web
volumes:
- ./pool-config.json:/pool/config.json:ro
depends_on:
- daemon
- wallet
- pool-redis
Dependencies
- Daemon — blockchain node for block templates and submission
- Wallet — for miner payouts
- Redis — job cache, share tracking, stats
Configuration
The pool reads config.json at startup. Mount a custom config via Docker volume.
Key settings to change for Docker networking:
{
"redis": {
"host": "pool-redis",
"port": 6379
},
"daemon": {
"host": "daemon",
"port": 36941
},
"wallet": {
"host": "wallet",
"port": 36944
}
}
See Configuration for the full reference.
Building from Source
The pool has a native C++ dependency (zano-node-util) for ProgPoWZ hashing. The Dockerfile handles compilation using Ubuntu 24.04 with Boost 1.83.
docker compose -f docker-compose.ecosystem.yml build pool
Build context must include both zano-pool/ and blockchain/src/ for the C++ headers.