tfchain icon indicating copy to clipboard operation
tfchain copied to clipboard

Check if node have active contracts before changing the power target to down

Open sameh-farouk opened this issue 1 year ago • 4 comments

Is your feature request related to a problem? Please describe

Currently, the farmer bot is responsible for verifying the active contracts before the node switches to low power mode, but this can cause data race issues.

Describe the solution you'd like

Check on change_power_target call if node have active contracts before changing the power target to Down

sameh-farouk avatar Dec 31 '23 11:12 sameh-farouk