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
Was looking p2pt over to use in one of my projects and thought I'd drop a question or two that might help while you are doing this re-write to modernify.
1. Why not extend bittorrent-tracker's client instead of re-implementing much of its logic?
It looks like p2pt is a custom client that is passed over to the trackers. But when you start looking at the client implementation that bittorrent-tracker has and p2pt's implementation, there is overlap.
To point a few out, _defaultAnnounceOpts, _announce/_fetchPeers, getTrackerStats/scrape, setIdentifier/constructor.
There's a few more overlaps here and there. Not trying to say rolling completely custom isn't the way to go since we don't need the other tracker types but was wondering about that.
@RonaldZielaznicki I don't exactly remember the reasons but I think it was because of the difference between the usecases. I guess I didn't want to carry all the methods from bittorrent-tracker's client.
Will be done in branch
modernify
The text was updated successfully, but these errors were encountered: