Skip to content
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

parameterization of peer prio and multitrust #25

Open
cheme opened this issue Mar 20, 2015 · 1 comment
Open

parameterization of peer prio and multitrust #25

cheme opened this issue Mar 20, 2015 · 1 comment

Comments

@cheme
Copy link
Owner

cheme commented Mar 20, 2015

Currently peer priority are a u8 (in enum Priority), and when used with wot peers, it generally is the same as the trust of the peer.
This allow some nice routing.
Yet we cannot have for instance two categories of trust and choice of peer based on first category for a key val, choice based on anothe for another one, because we got the notion of order from priority.
TODO
Parameterized this priority to PartialOrd so that we could have separate category and still a notion of order.
we can multi prio like (u8,u8), we also can non hierarchic prio, special prio and trustedkeyval prio!!!
For separate trust, we should simply derive (compose) som trust rules from existing rules.

@cheme
Copy link
Owner Author

cheme commented Nov 22, 2015

Still an u8 but now we have an enum (multiprio should be simple to implement) with other states.

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

No branches or pull requests

1 participant