babylonlabs-io / babylonlabs-io/staking-api-service
Healthcheck endpoint to return isBootstrap information
Open
- Dominant language
- Go
- Stars
- 14
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Description
When the indexer is perform a bootstrap operation, we shall let the FE aware so that it blocks any user interactions.
The best place to return this information would be under the health check endpoint
Contributor guide
Research direction
Start at the health check endpoint and trace how the indexer records or exposes its bootstrap state. Confirm the endpoint reports isBootstrap while bootstrap is running, and verify the response returns to its normal state afterward so the FE can block and resume interactions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- api
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100