Skip to content

Conversation

@asuzuki-jumptrading
Copy link
Collaborator

  • add remaining second estimates for startup phases
  • gossip: peer count / 5000 for completion %
  • snapshots: insert completed / total for completion %
  • catching up: use replay rate and number of slots left to replay. Use useEma hook

return true;
});

export const bootProgressBarPctAtom = atom((get) => {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Calculations are moved into individual phase components

@asuzuki-jumptrading asuzuki-jumptrading marked this pull request as ready for review December 1, 2025 17:14
@asuzuki-jumptrading asuzuki-jumptrading force-pushed the asuzuki/startup-header-phase branch 2 times, most recently from 1f16300 to b694597 Compare December 1, 2025 18:36
<GossipCard
title="Staked Peers"
value={health.connected_staked_peers}
value={health.connected_staked_peers.toLocaleString(undefined, {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we add a zeroDecimalFormatter in the numUtils and import that like we do with the compactZeroDecimalFormatter

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can leave this one as is because it's a method called on the value rather than a util function accepting an independent value. It also doesn't need special treatment like making the value compact.

@asuzuki-jumptrading asuzuki-jumptrading force-pushed the asuzuki/startup-header-phase branch from b694597 to 45a9e28 Compare December 2, 2025 17:09
@asuzuki-jumptrading asuzuki-jumptrading merged commit 3ab32d5 into amliu/navigation1 Dec 2, 2025
@asuzuki-jumptrading asuzuki-jumptrading deleted the asuzuki/startup-header-phase branch December 2, 2025 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants