near-explorer icon indicating copy to clipboard operation
near-explorer copied to clipboard

Display non-transaction updates

Open frol opened this issue 3 years ago • 1 comments

Story

As a user who wants to be aware of all the events happening on the network, I want to know about such events as rewards allocation (balance increase due to validation duty), kickouts (stake gets automatically returned to the balance), slashing (?), etc so I can reason about account balances.

Rewards and kickouts are not represented as transactions, they are just internal updates to the state, so we currently can only observe them via State Changes API.

P.S. I don't understand how these non-transaction updates are even synced between nodes (e.g. when we do state sync for a fresh node starting from genesis)

Acceptance Criteria

  • [ ] Clearly set requirements (learn all the corner cases) /cc @evgenykuzyakov @nearmax @bowenwang1996
  • [ ] UX / UI
  • [ ] Implementation (it is going to rely on #236)
  • [ ] Tests

/cc @kcole16 @khorolets @icerove @amgando

frol avatar Jul 15 '20 08:07 frol

when we do state sync for a fresh node starting from genesis

It depends on the client's configuration, but normally it is done when the client is more than one epoch behind the head of the current network.

bowenwang1996 avatar Jul 15 '20 15:07 bowenwang1996