-
-
Notifications
You must be signed in to change notification settings - Fork 203
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
DHT Vote #79
Comments
It seems that the peers can cast their vote at And an user willing to check the ratings for a given infohash would That paper states that 1% of the total DHT traffic is related to votes (mostly 0 stars), and that seems to be like an awful lot. I'll try to hack something around bittorent-dht to see if I can reproduce that figure. |
@pldubouilh Thank you, that is really helpful 👍 |
So I played around with the idea. Here is the code:
It is interesting that nodes send out a Using the put method to keep track of how many votes would not work. The number of votes would keep getting overwritten. |
I think they are only using the |
Right, so I did some tests as well - the query is, indeed, Also, for the record, it seems that the paper's correct. I receive a good amount of votes, and they are mostly 0... |
@pldubouilh would you mind sharing your code? |
There you go. It's nothing really fancy, I just added a |
Does anyone know how utorrent implements the "vote" system over the DHT?
I looked online but there is next to nothing about it.
Some information:
http://lists.ibiblio.org/pipermail/bittorrent/2011-January/002413.html
http://arxiv.org/ftp/arxiv/papers/1305/1305.0711.pdf
You get a message something like this:
The only thing I dont get it the
target
They say itssha1(info-hash + "rating")
but i dont know. So the rating 1-5 and 0 been the query for votes. So if a infohash has 5 votes ranging from 1 to 5 would you receive 5 responses?Has anyone played around with this?
The text was updated successfully, but these errors were encountered: