Skip to content
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

Harvesting: Automatically detect that account is harvesting #326

Open
cryptoBeliever opened this issue Sep 28, 2022 · 0 comments
Open

Harvesting: Automatically detect that account is harvesting #326

cryptoBeliever opened this issue Sep 28, 2022 · 0 comments

Comments

@cryptoBeliever
Copy link
Contributor

Current behavior

At this moment mobile wallet will not detect automatically that the account is harvesting if we don't have information about harvesting node in the application.

Expected behavior

The mobile wallet should automatically detect harvesting status:

  • using the node key link for the account saved on the blockchain. We can use the statistics service /nodes/nodePublicKey/<key> to find the node. Next we can check if account is harvesting there using /node/unlockedaccount endpoint
  • using account public key to check if user is not running node on this account. Can be done also using statistics service and endpoint /nodes/<key>. Next, we can check if an account is harvesting using /node/unlockedaccount endpoint
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

1 participant