How to get current amount of seeds? #738
Answered
by
anacrolix
AskAlexSharov
asked this question in
Q&A
-
I see method: client.Torrents()[0].PeerConns() |
Beta Was this translation helpful? Give feedback.
Answered by
anacrolix
Apr 25, 2022
Replies: 1 comment
-
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. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
anacrolix
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.