Skip to content

Farmerbot "Dedicated" logic doesn't match Dashboard #1358

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
scottyeager opened this issue Apr 28, 2025 · 0 comments
Open

Farmerbot "Dedicated" logic doesn't match Dashboard #1358

scottyeager opened this issue Apr 28, 2025 · 0 comments
Assignees

Comments

@scottyeager
Copy link

The farmerbot displays the "Dedicated" status of nodes in the report table outputted in the logs. This logic appears to be used to determine the value that is shown:

if price != 0 || dedicatedFarm {
configNode.dedicated = true
}

Users of the farmerbot have noticed that this doesn't match the notion of "Dedicated" as reported by the Dashboard. In the Dashboard, the "Dedicated" status is returned by grid proxy. Any node that is either rented as dedicated or rentable is labeled "Dedicated".

I think the farmerbot should use the same logic as the grid proxy. Namely, that the node either has a rent contract or has no active node contracts.

@SalmaElsoly SalmaElsoly self-assigned this May 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants