Skip to content

feat: trustless-gateway block-brokers could accept multiaddrs/multiple uris? #756

@SgtPooki

Description

@SgtPooki

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    need/analysisNeeds further analysis before proceeding

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions