There's 2 parts to this pull request. The first one should be straight forward - "Add engine.swarm.downloadSpeed()" to the documentation
The second is a clarification. From my tests, torrent-stream always ends up downloading more than the totalLength and hence engine.swarm.downloaded isnt a good metric to figure out what's left. In other words, trying to do a "%" by engine.swarm.downloaded/totalLength always goes above 100%.
There's 2 parts to this pull request. The first one should be straight forward - "Add engine.swarm.downloadSpeed()" to the documentation
The second is a clarification. From my tests,
torrent-stream
always ends up downloading more than thetotalLength
and henceengine.swarm.downloaded
isnt a good metric to figure out what's left. In other words, trying to do a "%" byengine.swarm.downloaded/totalLength
always goes above 100%.