The stats should track how much data you've requested, along with the total. This will allow us to show progress for selective downloads:
(in hypercore) might be as easy to making ._selections -> .selections
Also, having total data for inflightRequests may also be useful here:
mafintosh> jhand: each peer object has an inflightRequests array, https://github.com/mafintosh/hypercore/blob/master/lib/replicate.js#L53
mafintosh> jhand: we can add a getter on the feed instance that adds the legnth of all those together
The stats should track how much data you've requested, along with the total. This will allow us to show progress for selective downloads:
Also, having total data for
inflightRequests
may also be useful here: