Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
SgtPooki opened this issue Mar 10, 2025 · 0 comments
Labels
need/analysis Needs further analysis before proceeding

Comments

@SgtPooki
Copy link
Member

SgtPooki commented Mar 10, 2025

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

@SgtPooki SgtPooki added the need/analysis Needs further analysis before proceeding label Mar 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need/analysis Needs further analysis before proceeding
Projects
None yet
Development

No branches or pull requests

1 participant