Skip to content
This repository has been archived by the owner on Apr 22, 2024. It is now read-only.

Take an Options map in swarm:start #42

Closed
madninja opened this issue Mar 13, 2018 · 0 comments
Closed

Take an Options map in swarm:start #42

madninja opened this issue Mar 13, 2018 · 0 comments
Assignees

Comments

@madninja
Copy link
Member

madninja commented Mar 13, 2018

Take an Options map in lib2p_swarm:start and use instead of application:get_env to fetch configuration values.

This will make external configuration of libp2p as a library easier.

The following options should be supported with sensible built-in defaults:

  • Private key (default to auto-generated key)
  • Port to use for simple swarm start (default to 0)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants