- Stop vali from forwarding requests if dereg#117
- Stop vali from forwarding requests if dereg#117Inquinim wants to merge 3 commits intoopentensor:stagingfrom
Conversation
|
This change adds a component to put the validator to sleep in case it gets deregistered, which it will continue until the validator gets registered again, skipping the processing steps while not registered. It seems ok for me, unless we want to explicitly stop the validator operation whenever it gets deregistered. |
I agree, I think if a validator gets deregistered, it should instead break and stop the script rather than sleep forever |
|
I agree. Breaking is better |
There are a lot of validators that deregister from the network but continue forwarding requests which floods the network. A simple metagraph lookup should solve the issue.
@ifrit98 @shibshib