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

Display current Node Activity to make it's behavior more clear #1318

Closed
4 tasks
brusherru opened this issue Jul 5, 2023 · 0 comments · Fixed by #1334
Closed
4 tasks

Display current Node Activity to make it's behavior more clear #1318

brusherru opened this issue Jul 5, 2023 · 0 comments · Fixed by #1334
Assignees
Labels
feature milestone/genesis Should be done prior to genesis

Comments

@brusherru
Copy link
Member

Rationale

When the Node is synced and PoS data is created, then it is tough to understand if is everything going well, or not. So Users wait for a long time, and some of them then find out that they don't get rewards, and ask why...

Recently a new API was introduced in go-spacemesh, that provides a Stream of Node Events: spacemeshos/go-spacemesh#4635

Smapp should subscribe to this API, and display on the smesher screen:

  • what is happening now (current event)
  • what will happen next (expected next event? Mb we don't need it and better document the whole lifecycle somewhere)
  • in case of failure — show the error instead of the current activity

User story

  • I open Smapp
  • Set up smeshing
  • I observe Node current activity on Smesher screen: InitStart -> InitComplete -> PoetWait -> PoetWaitEnd -> PostStart -> ...
  • If something failed — show the red bulb and red error message instead of the current activity
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature milestone/genesis Should be done prior to genesis
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant