tom-james-watson / dat-cp

dcp | Dat Copy - remote file copy, powered by the Dat protocol
MIT License
315 stars 21 forks source link

Add upload stats on uploader #9

Closed tom-james-watson closed 5 years ago

tom-james-watson commented 5 years ago

Using this.dat.stats.network.uploadTotal and this.dat.stats.network.uploadSpeed. Should be able to use same progress bar library.

tom-james-watson commented 5 years ago

Also should be able to show some kind of connected peers stat

tom-james-watson commented 5 years ago

Use stats.on('update')

tom-james-watson commented 5 years ago

Implemented in https://github.com/tom-james-watson/dat-cp/commit/8ea4ee332424ffc717174b9ec432071a8f974815