feat(core): add libp2p resource manager#8735
feat(core): add libp2p resource manager#8735marten-seemann merged 1 commit intoupdate-libp2p-v018from
Conversation
|
@marten-seemann Initial take on |
marten-seemann
left a comment
There was a problem hiding this comment.
With my limited knowledge of the code base, this looks good to me.
vyzo
left a comment
There was a problem hiding this comment.
just like lotus, looking fine.
|
Were you able to test the command (actually running it)? Is it working as expected? If the answer is yes I'll proceed to plumb the After that, I'll need you to define in the original thread where exactly is this command going to live, and if it should have its own API in |
Everything works as expected, except for the peer command. It either fails to parse a (valid) peer ID (e.g. |
Yeah, it's doing that for the CIDv0 addresses (
I'm not seeing that in local test: Test output |
|
Sorry, I should've been more specific: the peer output in The decode might be the issue of |
Yes, we're using the second, should we switch? |
Confirmed, will look into it, though it's a pretty straightforward call to the library's |
@vyzo, have you tried this? |
|
@marten-seemann Mind giving the Something like |
|
we dont have legacy peers in lotus so it worked all dandy when i tried it. |
|
It should be |
@schomatis I tried this, and it can't find the file:
|
caba218 to
c3be8e9
Compare
|
@marten-seemann Did the read limit command before not generate any output? Are you running both commands in the same CLI/daemon? |
c3be8e9 to
3bb2ecf
Compare
|
@schomatis It works now! Thank you! Can you rebase this on top of the (updated) update-libp2p-v018 branch? |
da21179 to
4594422
Compare
|
@marten-seemann Rebased. Left some TODOs in the PR description which I can't resolve myself. |
|
Nothing more for me to do at the moment so I'll remove my assignment from this. |
6ddf5bf to
0c9ddba
Compare
|
@marten-seemann is going to merge this into the update-libp2p-v018 branch once the tests in #8680 pass. |
4594422 to
a89390d
Compare
|
To be clear for anyone watching, this remaining work is now happening in #8680 |
Built on top of #8680.
Commands:
TODO:
interface-go-ipfs-core.limit.jsonconfig file going to live: hardcoded in the repo root or configured throughgo-ipfs-config.ViewPeeris working.Closes #8722.