-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Do not send outdated MNs on sync #1373
Conversation
Makes sense but is there any reason to think this is causing problems ? |
I noticed that node was burning cpu and spamming debug.log processing few hundreds of outdated nodes which all came "in one pack". I guess it was also busy requesting invs at the very same time and as a result of this coincidence sync timed out too early. Even if that was not the main reason I guess it's no good to spam nodes with outdated MNs anyway (could probably add |
UPDATE_REQUIRED notes only represent about 10% of the total do I don't see this having a large effect. Still I don't see a downside so, utACK. |
Reverts dashpay#1373, we need non-upgraded MNs to verify their old govvotes
* Do not filter non-upgraded mns in DSEG Reverts #1373, we need non-upgraded MNs to verify their old govvotes * Split mn list/single vin logic for DSEG This should prevent looping till the end of the list if we were asked for a single mn and a) we have it but some following `if` has failed or b) we don't have it. It also should be a bit easier to follow the logic this way.
* Do not filter non-upgraded mns in DSEG Reverts dashpay#1373, we need non-upgraded MNs to verify their old govvotes * Split mn list/single vin logic for DSEG This should prevent looping till the end of the list if we were asked for a single mn and a) we have it but some following `if` has failed or b) we don't have it. It also should be a bit easier to follow the logic this way.
* Do not filter non-upgraded mns in DSEG Reverts dashpay#1373, we need non-upgraded MNs to verify their old govvotes * Split mn list/single vin logic for DSEG This should prevent looping till the end of the list if we were asked for a single mn and a) we have it but some following `if` has failed or b) we don't have it. It also should be a bit easier to follow the logic this way.
* Do not filter non-upgraded mns in DSEG Reverts dashpay#1373, we need non-upgraded MNs to verify their old govvotes * Split mn list/single vin logic for DSEG This should prevent looping till the end of the list if we were asked for a single mn and a) we have it but some following `if` has failed or b) we don't have it. It also should be a bit easier to follow the logic this way.
No description provided.