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

Add some filter over query and value propagation #26

Open
cheme opened this issue Mar 20, 2015 · 0 comments
Open

Add some filter over query and value propagation #26

cheme opened this issue Mar 20, 2015 · 0 comments

Comments

@cheme
Copy link
Owner

cheme commented Mar 20, 2015

Trust of KeyVal , is only usefull if we filter some query and value propagation.
Currently this is only possible with accept rules (see wotaccess of fs example) for trusted incomming peer.

  • We need to add rules over accept_query_kv, accept_query_peer, accept_kv (accept becomes accept_peer).
  • we need that get_closest of route will also be filtered over query trust (we want our first query to be to peer of related trust (especialy when using multitrust see[https://github.com/parameterization of peer prio and multitrust #25]). We may plug a rules to filter results and recall get_closest with filtered result in parameter (there is already this param to avoid loops), and repeat until no more result or enough peer.
    This will be inefficient when 'route' already did some filtering (for exemple a route which use priority related to trust do the filtering already when get closest is done). Therefore this loop will be in accept closest rules (so that when we trust our route we just change this rule).
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