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

Make the threashold and shard count configurable. #71

Open
v0lkan opened this issue Dec 31, 2024 · 0 comments
Open

Make the threashold and shard count configurable. #71

v0lkan opened this issue Dec 31, 2024 · 0 comments
Labels

Comments

@v0lkan
Copy link
Contributor

v0lkan commented Dec 31, 2024

SPIKE Keepers use 3 shards and 2 thresholds as per their shard contribution logic
( for details check out https://zerotohero.dev/spire/spike/shamir-secrets-sharing/ )

It's better to make these configurable through environment variables.

Also it's useful to check out configuration is consistent with the shard number (i.e. if keepers know about 3 peers only but we require 5 shards, it should raise an error).

@v0lkan v0lkan added good first issue Good for newcomers feat:shamir labels Dec 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant