-
Notifications
You must be signed in to change notification settings - Fork 76
HTTP Retrieval Client #668
Copy link
Copy link
Closed
Description
Goals
Add a retrieve-piece command to boost CLI
How
Command syntax:
boost retrieve [command options] [pieceCID] [outputFile]
OPTIONS:
--providers value - list of provider addresses, as string, seperated by comma
For now --providers is required (future version will scan the chain)
Implementation:
- query the chain to convert provider addresses to peer ids
- send query ask v2 piece query -- if not connection on v2, assume we skip the provider
- if v2 responds with no piece protocols (will happen if no HTTP support), skip the provider
- collect successful queries, and attempt HTTP piece retrieval and write to specified file if successful
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Done