Skip to content
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

Check if elastic-ipfs already has a CID before asking kubo #21

Closed
olizilla opened this issue Aug 16, 2022 · 1 comment
Closed

Check if elastic-ipfs already has a CID before asking kubo #21

olizilla opened this issue Aug 16, 2022 · 1 comment

Comments

@olizilla
Copy link
Contributor

If a CID is provided by elastic-ipfs then we should respond that the CID is already pinned. We should not ask kubo to try and fetch it.

Try using dagular to fetch the root CID from elastic-ipfs first. We just want a has check against a known peer.

olizilla added a commit that referenced this issue Aug 16, 2022
- Adds a dockerfile to init kubo with customised config.
- Forces platform to amd64 for images intended to run in ECS. I can't see a way to configure aws-cdk to set the platform when building, so we have to force it in the docker file. Thanks to https://stackoverflow.com/a/70614305/6490163

fixes #9
fixes #21

License: MIT
Signed-off-by: Oli Evans <[email protected]>
@olizilla olizilla reopened this Aug 17, 2022
@olizilla
Copy link
Contributor Author

We can't easily tell if we have the entire dag without reading all CARs. We can re-open this if we need it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant