stratum-mining / stratum

stratum
https://stratumprotocol.org
Other
224 stars 132 forks source link

Create config option for backup Template Providers #427

Open darricksee opened 1 year ago

darricksee commented 1 year ago

Currently if the pool role loses connection to its TP it should/will disconnect all miners. It should have the option to fall back to a backup TP so it can send out new valid jobs to the miners. If the pool tries to connect with all the TPs and fails then it will disconnect all miners and continue to try to connect to a TP in its configuration until it succeeds, at which point it allows miners to reconnect.

GitGab19 commented 3 months ago

I think that this can be valid for JDC as well. Adding this issue in https://github.com/stratum-mining/stratum/discussions/1069#discussioncomment-10397507