Skip to content
This repository has been archived by the owner on Jul 7, 2021. It is now read-only.

Feature Request: Support multiple webportals #12

Open
xloem opened this issue Mar 31, 2020 · 9 comments
Open

Feature Request: Support multiple webportals #12

xloem opened this issue Mar 31, 2020 · 9 comments

Comments

@xloem
Copy link
Contributor

xloem commented Mar 31, 2020

It would be nice if a set of webportals could be provided, and they might be used round-robin or as backup mirrors if a primary one goes down.

@Kcchouette
Copy link
Contributor

I don't know what you think, but maintaining a list of portal that are not related to Nebulous, by checking if their attribute is ok, that they are up, etc.
It can be a work where you waste a lot of time

@mrcnski
Copy link
Contributor

mrcnski commented Apr 22, 2020

The code should be updated to use the new skynet/portals/ API endpoint

Edit: misunderstood the issue a bit, the API endpoint shouldn't be used for this purpose.

@xloem
Copy link
Contributor Author

xloem commented Apr 22, 2020

@m-cat that api feature sounds great. is it easy for you to quickly link to a description or documentation of that endpoint?

@mrcnski
Copy link
Contributor

mrcnski commented Apr 22, 2020

Sure, it should be officially released soon in the next version at which point it will be documented here

@xloem
Copy link
Contributor Author

xloem commented Jun 17, 2020

@m-cat I haven't been able to get those to work yet but I'm using https://siastats.info to enumerate portals in my c++ skynet portal api at https://github.com/xloem/siaskynetpp . Do you know if sia would be interested in linking to my c++ api next to their other apis at some point? I'm [email protected]

@mrcnski
Copy link
Contributor

mrcnski commented Jun 26, 2020

@xloem Sorry for the delay. Take a look at our current position on third-party SDKs, as far as I know it hasn't changed. Let us know what you think.

I haven't been able to get those to work yet but I'm using https://siastats.info to enumerate portals in my c++ skynet portal api

By the way, I think using a reliable public API to enumerate portals is a great idea. However, until we have an officially-supported API for enumerating portals, we can't include this in our SDKs.

@xloem
Copy link
Contributor Author

xloem commented Jul 4, 2020

@m-cat I commented on the current position on third party sdks you linked, but haven't received a reply. As an independent developer is there a path towards reaching the front page with api contributions if I work according to sia guidelines? Or is it more productive to fork things?

Right now I'm looking into designing an interface (in C++ right now) that autoselects portals, switching the selection if one is down before reporting success or failure. Ideally I'd like to do work that's in line with the overall efforts of sia to reduce maintenance in the future.

@mrcnski
Copy link
Contributor

mrcnski commented Jul 6, 2020

I'm sorry you haven't received a reply, I'll try to call David's attention to it. We have been quite busy lately, but the SDKs are a priority for us and we'd love to work with you on them. I'll forward your questions to the team.

Ideally I'd like to do work that's in line with the overall efforts of sia to reduce maintenance in the future.

We're using this repo to coordinate our efforts on the SDKs. Check out the status document there as it serves as a kind of roadmap for us. If you have any cool ideas, leave an Issue on the repo and we'd be happy to work with you on designing something.

@xloem
Copy link
Contributor Author

xloem commented Jul 6, 2020

Thanks =) I've opened issues on that repo.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants