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

[FEATURE] - Swarm configuration should be user configurable #109

Open
moofone opened this issue Jan 5, 2025 · 0 comments · May be fixed by #111
Open

[FEATURE] - Swarm configuration should be user configurable #109

moofone opened this issue Jan 5, 2025 · 0 comments · May be fixed by #111
Assignees
Labels
enhancement New feature or request

Comments

@moofone
Copy link

moofone commented Jan 5, 2025

Feature Description

Currently, bootstrap_with_identity() makes decisions about default configuration which is not always useful. There should exist a way to create the swarm in a more flexible way passing in various configuration overrides.

Motivation

For example to set timeouts, larger payloads, different protocols, etc.

Proposed Solution

To resolve this issue I propose first doing the absolute minimum which is adding bootstrap_with_config(). Then other issues can be raised for custom Actor/Swarm Event interactions, For example we should allow the Actor to interact with DHT Events (I have a use case for this, which requires maintaining a fork), and/or possibly adding another protocol/behaviour.

@moofone moofone added the enhancement New feature or request label Jan 5, 2025
@tqwewe tqwewe linked a pull request Jan 7, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants