-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
chore(api): Remove stale api endpoints #1013
Conversation
dammmmn. nice! |
We fully support API cleanup. In addition to unavailable APIs, incorrect chain identifiers, REST/RPC confusion, there is a separate type of problematic API that causes the greatest problems for service developers. These are public nodes that have run out of disk space. These nodes report that they are fully synchronized. Although they just hung up. And the validators don't care. Because most nodes are added by validators solely to increase their positions in the RESTAKE. And we suffer. Due to such public nodes, we cannot launch our project in full. We are now analyzing all these nodes and are going to roll out some kind of automated solution for removing such nodes. Massive Registry Cleanup Coming! So validators, please keep an eye on the free space on your servers. |
@staking-explorer space isn't the issue there, actually. When a node hangs like that, it's due to it being overwhelmed by queries. It would be more appropriate to say "developers please stop abusing public nodes" |
@JeremyParish69 this seems cool to me, what do you think? I'd want to purge the current changes and keep the script, but the point stands - this script seems worthy of merging. |
I was hesitant before because people used to try to remove nodes that appeared down, but it turned out they just didn't know how to query it. Also have seen some teams ask to be notified once their node is down for a couple days rather than removing it. I suppose 30 days down is fair for removal, but I hope we can be confident in the script to correctly identify whether nodes are truly down and not just think it's down because this (but not others) is being blocked. Generally I'm ok with it and some cleanup will do some good. |
I reviewed the code, and it looks simple and reasonable. It uses |
Interesting idea. Can be brought up again, but this PR has a lot of conflicts and seems abandoned |
@JeremyParish69 I will bring up a new PR in the morning :) |
Closes #915
Change Log:
Removed Endpoints (Mar 29, 2022)