Closed Mik-TF closed 9 months ago
Yup, we should have shown that min is 100 TFT (which is quite reasonable to run without interruptions for a long time)
https://github.com/threefoldtech/tfgrid-sdk-go/blob/development/farmerbot/internal/constants.go#L23
For a farm of 10 nodes that's almost 10 tft for just the daily and random wakeups, maybe we can make that 50. Either way in code the required balance needs to be encoded in the error message
I think 100 TFT is fine, especially with the current price. Thanks for the info.
@xmonader I adjusted the error message in #648 We can fix this issue when the related PR is closed.
Maybe the fees have changed, but last I checked them empirically for farmerbot operation, it was .001 TFT per transaction. Since there should be 10 random wakeups per month and ~30 daily wakeups, and there's two transactions per wakeup, the cost per node per year is:
.001 * 40 * 2 * 12 = .96
I'd suggest an approach like this:
Good data point! It does put the situation in perspective.
If it costs <1 TFT per year per node, a simple mimum of 2 TFT per node would be enough for any basic Farmerbot use. We can set it to anything >2 TFT in wallet at minimum per node and I think it would be fine.
@scottyeager's solution here is also very nice it seems. The manual shows the farmerbot costs. Farmers could take it from there.
@xmonader Please let us know what you think and we can help at any level of fixing this issue.
we went with a soft limit 50 tft that the user is advised to have and 5 tft hard limit
What happened?
Running the farmerbot in go on a tfgrid full vm ubuntu 22.04 deployment on farm 197 node 3860 with wireguard access:
I get the error:
12:06AM FTL error="failed to validate account balance: account contains 22.31 tft, min fee is 0.002 tft"
with the line:
root@fbotgo:~/farmerbotgo# farmerbot run -c config.yml -e .env -d
The farmerbot version is from the binary release.
The .env file
and the config.yml file:
which network/s did you face the problem on?
Main
Farm ID/s
197
Relevant log output