|
// 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