tfchain
tfchain copied to clipboard
Check if node have active contracts before changing the power target to down
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