-
Notifications
You must be signed in to change notification settings - Fork 94
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
Result of mutually-distrusting Ids depends on order they're processed #389
Comments
The graph flooding algo that is currently used is processing things according to trust level and distance. So whoever is more trusted will cancel less trusted proofs first. There's even a test, IIRC cargo-crev/crev-lib/src/tests.rs Line 282 in 291abd6
|
What if both are with trust = high? |
The exact order is determined by cargo-crev/crev-wot/src/lib.rs Line 1052 in a1ba22d
Id which at least makes it deterministic.
|
Actually this is not the case. Two IDs at the same effective trust level, distrusting each other will remove both from the trust set. cargo-crev/crev-lib/src/tests.rs Line 324 in 291abd6
Kind of a Mutually Assured Destruction. |
Closing, as I still think that's how I want it to be, and some improvements around handling it will be done for #390 |
If user A distrusts user B, and user B distrusts user A, it's indeterminate what result this will have on the WoT:
The text was updated successfully, but these errors were encountered: