Ardhi Putra Pratama
2016-10-10 22:44:39 UTC
Hello all,
I am working in measuring swarm by looking at the peers at that
particular swarm. However, I want to avoid downloading the actual file
of the swarm itself. One reason is to prevent piracy if my system is
deployed. I know I can set the piece priority to 0 to *not* download
the file.
What's left is measure the swarm. I call get_peer_info periodically.
However, none of the peers have any 'interest' in me. (which is
understandable as I don't have any piece). Is there any way to 'fake'
this, so I can report to other peer like I have 'complete' file? The
purpose is to know which peer that has interest in each of my piece. I
just need the number, though. Is there any way to know which is the
rarest piece from the public API?
Another, related question is, is there any way to call DHT's get_peers
from python? Or perhaps any method that can be used as 'ask for more
peers'.
Looking forward for the discussion.
Regards,
ardhi
I am working in measuring swarm by looking at the peers at that
particular swarm. However, I want to avoid downloading the actual file
of the swarm itself. One reason is to prevent piracy if my system is
deployed. I know I can set the piece priority to 0 to *not* download
the file.
What's left is measure the swarm. I call get_peer_info periodically.
However, none of the peers have any 'interest' in me. (which is
understandable as I don't have any piece). Is there any way to 'fake'
this, so I can report to other peer like I have 'complete' file? The
purpose is to know which peer that has interest in each of my piece. I
just need the number, though. Is there any way to know which is the
rarest piece from the public API?
Another, related question is, is there any way to call DHT's get_peers
from python? Or perhaps any method that can be used as 'ask for more
peers'.
Looking forward for the discussion.
Regards,
ardhi