stratum-proxy
stratum-proxy copied to clipboard
How to diasable automatic pool switching ?
Is it possible to disable automatic pool switching and switch pools only manually ?
Can you post your config?
"poolSwitchingStrategy": "priorityFailover", "weightedRoundRobinRoundDuration": 60, It was left as in release.
I do not want failover, I just need an api to change pools
as far i know you need it on priorityFailover to stop the switching as far as api goes http://your ip the proxy is on , port : 8888 some thing like this
http://192.168.1.205:8888/
##API Details
An API is available. Methods parameters or result are in JSON. By default, the methods can be accessed at the URL http://hostIp:8888/proxy/.
The Content-Type of HTTP requests has to be application/json, else a 415 Unsupported Media Type error may be returned.
Here after is the API methods description:
Api Version: 1.0 APIs / Overview
API to manage the proxy POST /address/ban banIp
Ban the given ip address.
Set all other failover pools param: "isEnabled" to "isEnabled": false, or "delete" all other failover/roundrobin pool params