recognize seed/peer
Closed this issue · 3 comments
XJIOP commented
cli getpeers always return seed:false
how to know is seed or peer? need info for uploaders/downloaders
the8472 commented
The output was a bit misleading since the protocol has no way to determine whether an individual get peers
response value is a seed or a peer.
Try c4eeacd, I added an option to the CLI to print actual scrape results
$ mldht-remote-cli getpeers -scrape 057107EBA2FC03DF1F231DE039C501E6585546AD
Scrape Result for 057107EBA2FC03DF1F231DE039C501E6585546AD: seeds[scrape]:263 peers[scrape]:425 direct results:77 ; 15/25 of nodes returning values supported scrape
XJIOP commented
That's what I need, thanks!
Another question, mldht-remote-cli has support mulltiple instance with different info_hash at same time?
the8472 commented
you could just have tried it, but yes. You can also pass multiple infohashes in a single command, the help says as much.