-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Conversation
509d6ee
to
ecb04c0
Compare
36bb4e3
to
028d2b0
Compare
6bbcc47
to
11d26d4
Compare
@diasdavid do you think we need more tests than the ones from |
@hacdias libp2p/js-libp2p#169 done :) |
3489ded
to
52ad8dc
Compare
@diasdavid just pushed 09b02e2 which fixes the issue. /cc @alanshaw |
09b02e2
to
40c4fcd
Compare
So, my fix only made more stuff to fail. @alanshaw I see that you were the one who changed that code so I think you should know more about this than I do. Anyway, this PR wasn't created to fix other issues than to create the .stats.bw* interface. That's done and the tests are passing. @diasdavid could you please merge ipfs-inactive/interface-js-ipfs-core#225 and release a new version in order to update the interface-ipfs-core here and merge this, please? |
40c4fcd
to
0239f58
Compare
@hacdias rebased master onto this branch, it should all be fine. Please confirm. |
bw
Outdated
@@ -0,0 +1 @@ | |||
{"TotalIn":"0","TotalOut":"0","RateIn":"0","RateOut":"0"} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hacdias where does this file come from?
Woot! Thanks @hacdias ❤️ |
Thanks 😄 |
It was decided on #1198 that the implementation of the Bandwidth Stats should be done in a different PR since it first needs libp2p/js-libp2p#157 to get merged. This issue is used to track the progress on that.
Prerequisites
ToDos
ipfs.stats.bw
ipfs.stats.bwReadableStream
ipfs.stats.bwPullStream
/api/v0/stats/bw
ipfs stats bw