Stratumsphere handles has two kinds of HASH Schedulers Threshold and Miner-to-Miner.

To create a scheduler via API a scheduler_type has to be specified.

Scheduler Types
Miner-to-Miner scheduler, keyword: miners
Threshold scheduler, keyword: threshold
Important: Above keywords are case sensitive

View this endpoint to create a threshold scheduler.
View this endpoint to create a Miner-to-Miner scheduler.

Threshold
Hashrate Threshold Methodology
On threshold schedulers, rentals are created based on the hashrate specified to maintain on the rental(s).

To create a threshold rental you need to specify a hashrate threshold threshold that's the hashrate that Stratumsphere will maintain on this rental. You also need to specify a tolerance tolerance with it. Tolerance is acceptable error range in percentage around the specified hashrate, it's preferred to keep the tolerance between 10% - 20%. Stratumsphere will automatically assign as many workers as needed to achieve and maintain this hashrate.

Since the hashrate varies between workers especially due to different share submission times it's impossible to achieve a threshold without an error tolerance range. Having a high tolerance results in less up/down of workers on your scheduler and increases/stabilizes your total hashrate.

Important: Threshold rentals can only be created on threshold schedulers i.e. schedulerId must be the id of a scheduler created with the type threshold

View this endpoint in the API docs to create a threshold rental

Miner-to-Miner
Miner-to-Miner Methodology
On Miner-to-Miner schedulers, rentals are created based on the number of workers specified to be maintained the rental(s).

To create a Miner-to-Miner rental you need to specify number of workers workerNumberMaintained. That is the amount of workers that Stratumsphere will maintain on this rental.

Important: Miner-to-Miner rentals can only be created on Miner-to-Miner schedulers i.e. schedulerId must be the id of a scheduler created with the type miners

View this endpoint in the API docs to create a threshold rental
Was this article helpful?
Thank you!