Skip to content

How to get current amount of seeds? #738

Answered by anacrolix
AskAlexSharov asked this question in Q&A
Discussion options

You must be logged in to vote

Maybe filter the PeerConns on PeerConn.PeerPieces.GetCardinality()==Torrent.NumPieces? I'm not sure how efficient that is, PeerPieces, may allocate heavily, let me know how it goes.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by anacrolix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants