Multi-pool, multi-worker proxy for Bitcoin miners, supporting long polling and pool failover