|
// take first address? |
|
// /ip4/x.x.x.x/tcp/31337/http |
|
// /ip4/x.x.x.x/tcp/31337/https |
|
// etc |
|
const uri = multiaddrToUri(httpAddresses[0]) |
|
|
|
yield new TrustlessGateway(uri, logger) |
Should we pass all multiaddrs to a trustless-gateway block-broker so it could fall back to others if the initial one isn't working?
cc @achingbrain @2color
helia/packages/block-brokers/src/trustless-gateway/utils.ts
Lines 45 to 51 in 375796a
Should we pass all multiaddrs to a trustless-gateway block-broker so it could fall back to others if the initial one isn't working?
cc @achingbrain @2color