transparency-dev / transparency-dev/distributor
Support getting checkpoints by witness in the CLI
Open
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 5
- Forks
- 7
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 6
Description
cmd/client/client.go should be updated to allow the checkpoints for a single witness to be fetched. At the moment it only supports getting all checkpoints for all witnesses.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading cmd/client/client.go and identify how the CLI currently fetches checkpoints for all witnesses. Extend that path to accept a single-witness selection while preserving the existing all-witness behavior. Done means the CLI can fetch checkpoints for one specified witness and still supports fetching all checkpoints.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100