Closed atomgardner closed 1 year ago
This is a first cut of the peer protocol and from-link subcommand.
from-link
~Would love if you could give it a quick review. It obviously needs more tests.~
~This has tests now. I have local patch that adds a --thread-per-peer flag, and it speeds things up like 100 fold, but it is extremely hacky.~
--thread-per-peer
The command now uses rayon, and is acceptably quick. It'd be quicker if it pipelined peers from the tracker.
rayon
One more thing to do before merging:
peer
This is a first cut of the peer protocol and
from-link
subcommand.~Would love if you could give it a quick review. It obviously needs more tests.~
~This has tests now. I have local patch that adds a
--thread-per-peer
flag, and it speeds things up like 100 fold, but it is extremely hacky.~The command now uses
rayon
, and is acceptably quick. It'd be quicker if it pipelined peers from the tracker.