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

Add support for configurable pinning only on untrusted peers #1977

Conversation

jonasrmichel
Copy link
Contributor

Fixes #1976

This PR adds support for pinning only on untrusted peers. This feature is enabled via a new pin_only_on_untrusted_peers config setting (default false).

This feature is the inverse of the existing pin_only_on_trusted_peers.

Configuring both pin_only_on_trusted_peers and pin_only_on_untrusted_peers to true results in a config validation error.

@jonasrmichel jonasrmichel force-pushed the feat/1976-pin-only-on-untrusted-peers branch from f013c43 to 90fd8c0 Compare September 22, 2023 22:51
@jonasrmichel
Copy link
Contributor Author

@hsanjuan -- I'd love your feedback on this feature.

@jonasrmichel
Copy link
Contributor Author

@hsanjuan -- Friendly nudge. 😄

I'd love your eyes and feedback on this feature PR.

@hsanjuan
Copy link
Collaborator

Thank you @jonasrmichel . I wonder if you can document the new option by editing https://github.com/ipfs-cluster/ipfs-cluster-website/blob/master/content/documentation/reference/configuration.md.

Other than that this LGTM.

@jonasrmichel
Copy link
Contributor Author

Wonderful, thanks @hsanjuan. And good suggestion on the docs.

See ipfs-cluster/ipfs-cluster-website#154 for the website docs update.

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

Successfully merging this pull request may close these issues.

Support configurable pinning only on untrusted peers
2 participants