babylonlabs-io / babylonlabs-io/staking-api-service

Healthcheck endpoint to return isBootstrap information

Open
#136 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.