You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I've been using RubyTorrent in a huge project to distribute a Archive of Public Papers, but I have to refactor it in such way we could count all Peers that are real Seeds - which have 100% of the files, and thats where we ask for conceptual help.
I think it can be inferred by the :state, or not? https://github.com/willchapin/RubyTorrent/blob/master/lib/ruby_torrent/peer.rb#L8
Thank you
The text was updated successfully, but these errors were encountered:
Hi, rafapolo. This is probably too late to be useful (sorry!), but if you want to identify a peer as being seed/non-seed, you will need to look at that peer's Bitfield. A peer with a full bitfield (ones for all pieces) is a seed peer.
Hello, I've been using RubyTorrent in a huge project to distribute a Archive of Public Papers, but I have to refactor it in such way we could count all Peers that are real Seeds - which have 100% of the files, and thats where we ask for conceptual help.
I think it can be inferred by the :state, or not?
https://github.com/willchapin/RubyTorrent/blob/master/lib/ruby_torrent/peer.rb#L8
Thank you
The text was updated successfully, but these errors were encountered: