Skip to content

Update Helia to fallback to trustless HTTP gateways #274

@SgtPooki

Description

@SgtPooki

discussed in https://pl-strflt.notion.site/Helia-reliable-retrieval-technical-design-golden-path-255-15c4d3c25a404a85b6db8bf3f8d1f310?pvs=4

Should do #272 first

### Tasks
- [x] create ByteProvider interface
- [x] add `byteProviders` config key to Helia configuration object
- [x] Emit onProgress events that specify which provider (dht, gateway url, etc..) is returning bytes
- [x] implement default fallback byteProvider for a trustless http gateway
- [x] clarify with @achingbrain whether we need to verify bytes or if this is already handled
- [ ] https://github.com/ipfs/helia/pull/276
- [ ] https://github.com/ipfs/helia/pull/280
- [ ] https://github.com/ipfs/helia/pull/281
- [ ] https://github.com/ipfs/helia/pull/284
- [ ] https://github.com/ipfs/helia/pull/285
- [ ] https://github.com/ipfs/helia/issues/287

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions