ChainSafe / ChainSafe/canton-middleware

feat: [Indexer] check indexer rediness

Open
#167 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
1
Forks
1
Avg merge
40m
Merged PRs (30d)
1

Description

Before returning data on http api - indexer need to check whether it is fully/almost synced to returned data. Otherwise should return appropriate error.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the HTTP API entry points that return indexer data and trace how the indexer's sync state is exposed. Determine the appropriate readiness condition and error response from the surrounding API behavior. Done means requests do not return data until the indexer is fully or almost synced, and return the agreed error otherwise.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.