bittorrent-tracker/lib
Feross Aboukhadijeh 2966165a8f BREAKING: Client() takes single opts object now
To use the client, you used to pass in four arguments:

`new Client(peerId, port, parsedTorrent, opts)`

Now, passing in the torrent is no longer required, just the `announce`
and `infoHash` properties. This decouples this package from
`parse-torrent`.

All options get passed in together now:

new Client({
infoHash: '', // hex string or Buffer
peerId: '', // hex string or Buffer
announce: [], // list of tracker server urls
port: 6881 // torrent client port, (in browser, optional)
})

All the normal optional arguments (rtcConfig, wrtc, etc.) can still be
passed in with the rest of these options.

Fixes #118. Fixes #115.

Added ws tests for scrape.
2016-03-31 21:37:51 -07:00
..
client BREAKING: Client() takes single opts object now 2016-03-31 21:37:51 -07:00
server remove buffer-equals dependency 2016-03-24 03:25:31 -07:00
common-node.js PR Feedback for #120 2016-03-11 17:21:19 -08:00
common.js Announce to websocket tracker every 30 seconds (for #338) 2015-07-29 02:12:14 -07:00