-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: ipfs: remove kubo client backend #11661
Conversation
086ed0c
to
c715a7c
Compare
c715a7c
to
eb0bc25
Compare
@rvagg I'm also looking for insight into:
|
I don't have enough context but my understanding from a distance was that we are no longer recommending people use the retrieval code in here; you just need to look at the last updates to go-fil-markets to see how stale it all is. Boost forked it, trimmed it down to the bone, and have just removed it entirely from their stack. Lassie has been integrated in various places that do retrievals now and could be done here as Hannah said. But, I just don't know the current state of our recommendations to users, regarding either side of the market, we still have code laying around to make deals and to perform retrievals. Do we have consistent messaging? We should just rip it all out, but we need good answers for people as a replacement. I think we can also rip out graphsync while in there, afaik we don't use it for the chain and I think even the lotus-miner recommendations these days is to defer to separate markets software. 🤷 I suspect that @magik6k might have more context on this and could help? Otherwise I say just do it. |
Seems like:
I would try to just remove the client blockstore seperately. |
+1 to that, and we can stick lassie in there for CLI retrieval if people still want/need a client in here somewhere. Mostly we should just refer people to lassie itself I think. |
eb0bc25
to
2790a8b
Compare
Ok, so, this code isn't used for retrieval, it's used to make deals. Specifically, it means you can:
As described in https://lotus.filecoin.io/tutorials/lotus/import-data-from-ipfs/. That actually seems like it might still be useful? But it also means that the current kubo dependency is overkill: all we need is the ability to read/write blocks. On the other hand... I'm now really annoyed that those repos got merged. |
This dealmaking pathway is deprecated anyways, the new version of boost is dropping go-fil-markets entirely anyways, so it won't even be possible to make deals with SPs through this mechanism anymore. Dropping deals-from-ipfs SGTM |
8004e47
to
e914398
Compare
This was used to run an internal IPFS node...
e914398
to
4d0b1f9
Compare
This was used to run an internal IPFS node...
This was used to run an internal IPFS node...
Related Issues
Proposed Changes
Remove the kubo client backend. This appears to be deprecated and unused? Basically, I'm trying to kill off https://github.com/filecoin-project/kubo-api-client so I don't have to update it.
Additional Info
This was used to run an internal IPFS node, for some kind of client deal thing.
Maybe we can also get rid of:
lotus/node/modules/client.go
Lines 91 to 95 in 086ed0c
But... I'm not sure what to do about:
lotus/node/modules/graphsync.go
Line 27 in 086ed0c
Checklist
Before you mark the PR ready for review, please make sure that:
<PR type>: <area>: <change being made>
fix: mempool: Introduce a cache for valid signatures
PR type
: fix, feat, build, chore, ci, docs, perf, refactor, revert, style, testarea
, e.g. api, chain, state, market, mempool, multisig, networking, paych, proving, sealing, wallet, deps