Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

Improve explorer visualization to show hermez node synchronization status #1131

Open
tclemos opened this issue Sep 8, 2021 · 0 comments
Open

Comments

@tclemos
Copy link
Contributor

tclemos commented Sep 8, 2021

Rationale

When the boot coordinator is under synchronization or it is out of sync, we are not showing this information to the users.

Implementation

Change the UI behavior to show a synchronization state with the information provided by the state API.

As an example, we could use the information lastEthereumBlock and lastSynchedBlock, if they are different, the node is not synchronized.

{
  "network": {
    "lastEthereumBlock": 5463219,
    "lastSynchedBlock": 5463219,
  },
}

Also, the frontend could have another API directly consumed from an Ethereum node in other to have a different source of the lastEthereumBlock.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant